Skip to content

Commit

Permalink
fix consumer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
idanasulin2706 committed Aug 9, 2023
1 parent 6395c24 commit 446d802
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Memphis.Client/Consumer/MemphisConsumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ private void InitSubscription()
if (Partitions.Length == 0)
{
var options = new ConsumerConfiguration.ConsumerConfigurationBuilder()
.WithMaxExpires(_consumerOptions.BatchMaxTimeToWaitMs)
.WithMaxDeliver(_consumerOptions.MaxMsgDeliveries)
.WithDurable(internalSubjectName)
.BuildPullSubscribeOptions();

Expand All @@ -109,8 +107,6 @@ private void InitSubscription()
{
var streamName = $"{internalSubjectName}${Partitions[i]}.final";
var options = new ConsumerConfiguration.ConsumerConfigurationBuilder()
.WithMaxExpires(_consumerOptions.BatchMaxTimeToWaitMs)
.WithMaxDeliver(_consumerOptions.MaxMsgDeliveries)
.WithDurable(internalSubjectName)
.BuildPullSubscribeOptions();

Expand Down

0 comments on commit 446d802

Please sign in to comment.