Skip to content
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

Support KafkaListener topicPattern #739

Closed
timonback opened this issue May 2, 2024 · 2 comments
Closed

Support KafkaListener topicPattern #739

timonback opened this issue May 2, 2024 · 2 comments
Labels
enhancement New feature or request staged for release

Comments

@timonback
Copy link
Member

Hey yall. I have this use case where we're using a pattern instead of the topic names:

@KafkaListener(topicPattern="")

However, I get an error during start up and no topics are included in the UI.

Am I missing something or is this a bug?

2024-05-01T19:39:16.842+02:00 ERROR 70862 --- [Springwolf example project - Kafka] [           main] i.g.s.c.a.o.DefaultOperationsService     : An error was encountered during operation scanning with io.github.springwolf.core.asyncapi.scanners.operations.SpringAnnotationOperationsScanner@30922f8d: Index 0 out of bounds for length 0

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

Copied from Discord
OP: @raphaeldelio

@timonback timonback added the enhancement New feature or request label May 2, 2024
@timonback
Copy link
Member Author

Copy link

The change is available in the latest release. 🎉

Thank you for the report/contribution and making Springwolf better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request staged for release
Projects
None yet
Development

No branches or pull requests

1 participant