-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
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
Cannot handle multiple group-ids with same topic #85
Labels
bug
Something isn't working
Comments
Thanks for reporting this issue! I am swamped lately but will try to get to researching this in the coming weeks. |
Thanks. More specifically, this case please
|
Thanks @stavshamir 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When there multiple consumer group-id consuming the same topic with different payloads,
ClassLevelKafkaListenerScanner
throws an exception while scanning due to duplicate key of topics.Dependencies and versions used
springwolf-kafka
version0.7.0
.Stack trace and error logs
i.g.s.s.asyncapi.DefaultChannelsService : An error was encountered during channel scanning with io.github.stavshamir.springwolf.asyncapi.scanners.channels.ClassLevelKafkaListenerScanner@1dd76982: Duplicate key CUSTOMER_PRODUCT_ADPT (attempted merging values ChannelItem(description=null, subscribe=null, publish=Operation(operationId=null, summary=null, description=null, tags=null, externalDocs=null, bindings={kafka=KafkaOperationBinding(groupId=GroupA, clientId=null, bindingVersion=null)}, traits=null, message={oneOf=[Message(name=java.lang.Object, title=Object, payload=io.github.stavshamir.springwolf.asyncapi.types.channel.operation.message.PayloadReference@1), Message(name=com.example.PayloadA, title=PayloadA, payload=io.github.stavshamir.springwolf.asyncapi.types.channel.operation.message.PayloadReference@1)]}), parameters=null, bindings={kafka=KafkaChannelBinding()}) and ChannelItem(description=null, subscribe=null, publish=Operation(operationId=null, summary=null, description=null, tags=null, externalDocs=null, bindings={kafka=KafkaOperationBinding(groupId=GroupB, clientId=null, bindingVersion=null)}, traits=null, message={oneOf=[Message(name=java.lang.Object, title=Object, payload=io.github.stavshamir.springwolf.asyncapi.types.channel.operation.message.PayloadReference@1), Message(name=com.example.PayloadB, title=PayloadB, payload=io.github.stavshamir.springwolf.asyncapi.types.channel.operation.message.PayloadReference@1)]}), parameters=null, bindings={kafka=KafkaChannelBinding()}))
The text was updated successfully, but these errors were encountered: