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 Feb 21, 2024
1 parent 284cdac commit a68c2ab
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 a68c2ab

Please sign in to comment.