We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When creating a durable retry with two different message for the same topic, then the producer creation fail.
Should start without issue
ArgumentException
Message: System.ArgumentException : An item with the same key has already been added. Key: kafka-flow-retry-durable-producer-test-test-message-retry Stack Trace: Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) Dictionary`2.Add(TKey key, TValue value) Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer) Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector) ProducerAccessor.ctor(IEnumerable`1 producers) <>c__DisplayClass5_0.<Build>b__1(IDependencyResolver resolver) <>c__DisplayClass6_0`1.<Add>b__0(IServiceProvider provider) CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) ServiceProviderEngineScope.GetService(Type serviceType) MicrosoftDependencyResolver.Resolve(Type type) DependencyResolverExtensions.Resolve[T](IDependencyResolver resolver) KafkaFlowConfigurator.CreateBus(IDependencyResolver resolver)
Producer name should use the message type name. See
kafkaflow-retry-extensions/src/KafkaFlow.Retry/Durable/Definitions/Builders/RetryDurableEmbeddedClusterDefinitionBuilder.cs
Line 94 in 9ee2ed2
v3.0.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Description
Hello,
When creating a durable retry with two different message for the same topic, then the producer creation fail.
Steps to reproduce
Expected behavior
Should start without issue
Actual behavior
ArgumentException
Producer name should use the message type name. See
kafkaflow-retry-extensions/src/KafkaFlow.Retry/Durable/Definitions/Builders/RetryDurableEmbeddedClusterDefinitionBuilder.cs
Line 94 in 9ee2ed2
KafkaFlow Retry Extensions version
v3.0.0
The text was updated successfully, but these errors were encountered: