Skip to content

Commit

Permalink
Merge pull request Trendyol#41 from ahmetfurkankavraz/main
Browse files Browse the repository at this point in the history
Trendyol#35 backward compatibility for EnableAutoCommit and EnableAutoOffsetS…
  • Loading branch information
MehmetFiratKomurcu authored Apr 5, 2024
2 parents 01e190f + 024059d commit 9bc0502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Services/Implementations/ConfigurationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public ConfigurationService(IConfiguration configuration)

public long MessageConsumeLimitPerTopicPartition => GetValue<long?>("MessageConsumeLimitPerTopicPartition") ?? Int64.MaxValue;

public bool? EnableAutoCommit => GetValue<bool?>("EnableAutoCommit");
public bool? EnableAutoOffsetStore => GetValue<bool?>("EnableAutoOffsetStore");
public bool? EnableAutoCommit => GetValue<bool?>("EnableAutoCommit") ?? false;
public bool? EnableAutoOffsetStore => GetValue<bool?>("EnableAutoOffsetStore") ?? false;
public string GroupId => GetValueOrThrowInvalidConfigException("GroupId");
public string SaslUsername => GetValue<string>("SaslUsername");
public string SaslPassword => GetValue<string>("SaslPassword");
Expand Down

0 comments on commit 9bc0502

Please sign in to comment.