-
Notifications
You must be signed in to change notification settings - Fork 106
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
Publish events after Consumer subscribes and after first polling #677
Publish events after Consumer subscribes and after first polling #677
Conversation
28170c2
to
e5be318
Compare
I rebased this branch and added tests. |
* Abstract base class for all kafka application events. | ||
* | ||
* @author Jorge F. Sanchez | ||
* @since 4.5.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The @since
in these new classes will need to be updated to either 5.0.3, or 5.1.0. As this introduces new event types, I'm thinking 5.1.0 would be more appropriate. @sdelamo would you agree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes 5.1.0
kafka/src/main/java/io/micronaut/configuration/kafka/event/AbstractKafkaApplicationEvent.java
Show resolved
Hide resolved
...a/src/main/java/io/micronaut/configuration/kafka/event/KafkaConsumerStartedPollingEvent.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/io/micronaut/configuration/kafka/event/KafkaConsumerSubscribedEvent.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/io/micronaut/configuration/kafka/processor/KafkaConsumerProcessor.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/io/micronaut/configuration/kafka/processor/KafkaConsumerProcessor.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeremy Grelle <grellej@unityfoundation.io>
Co-authored-by: Jeremy Grelle <grellej@unityfoundation.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, other than needing to make a decision on what version this belongs to and updating the @since
tags accordingly. I'll trust @sdelamo to make that call.
kafka/src/main/java/io/micronaut/configuration/kafka/event/AbstractKafkaApplicationEvent.java
Outdated
Show resolved
Hide resolved
...a/src/main/java/io/micronaut/configuration/kafka/event/KafkaConsumerStartedPollingEvent.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/io/micronaut/configuration/kafka/event/KafkaConsumerSubscribedEvent.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/io/micronaut/configuration/kafka/processor/KafkaConsumerProcessor.java
Outdated
Show resolved
Hide resolved
…tractKafkaApplicationEvent.java
…kaConsumerStartedPollingEvent.java
…kaConsumerSubscribedEvent.java
Provides a solution for #457