Skip to content

Commit

Permalink
fix: remove duplicate DI registration of IClusterManagerAccessor
Browse files Browse the repository at this point in the history
  • Loading branch information
gnjack authored and brmagadutra committed Mar 6, 2024
1 parent 92bdc45 commit db7f7e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public KafkaConfiguration Build()
.AddSingleton<IClusterManagerAccessor, ClusterManagerAccessor>()
.AddScoped<ConsumerMiddlewareContext>()
.AddScoped<IConsumerMiddlewareContext>(r => r.Resolve<ConsumerMiddlewareContext>())
.AddSingleton<IClusterManagerAccessor, ClusterManagerAccessor>()
.AddSingleton(
r =>
{
Expand Down

0 comments on commit db7f7e3

Please sign in to comment.