-
Notifications
You must be signed in to change notification settings - Fork 28
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
Added properties to disable autoconfiguration for publishing and consuming events to/from Kafka #241
Added properties to disable autoconfiguration for publishing and consuming events to/from Kafka #241
Conversation
…uming events to/from Kafka
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.
Thanks for this, @aupodogov! I have a couple of pointers though:
- I am missing tests for this change.
- This is a feature. As such, it should point to the
master
branch, making it a part of 4.6.0 - It would be helpful to add these boolean properties to the
KafkaProperties
class. Doing so allows JavaDoc documentation to pop up in the property files too. Added, it's a great place for default values instead of the annotation.
Other than that, thanks for the quick effort here, @aupodogov!
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.
Just three small comments remaining. Other than that, I think this looks good!
Do note that GitHub warns for merge conflicts, so be sure to resolve those.
...ing-boot-autoconfigure/src/main/java/org/axonframework/extensions/kafka/KafkaProperties.java
Outdated
Show resolved
Hide resolved
...ing-boot-autoconfigure/src/main/java/org/axonframework/extensions/kafka/KafkaProperties.java
Outdated
Show resolved
Hide resolved
...gure/src/main/java/org/axonframework/extensions/kafka/autoconfig/KafkaAutoConfiguration.java
Outdated
Show resolved
Hide resolved
# Conflicts: # kafka-spring-boot-autoconfigure/src/main/java/org/axonframework/extensions/kafka/autoconfig/KafkaAutoConfiguration.java
@smcvb can we point this change to 4.5.x to release earlier? |
Switching the branch to merge with won't work anymore due to the changes this branch will bring to 4.5.x. So, instead, I'll go about cherry-picking your changes from master. |
This MR add ability to disable autoconfiguration publishing and consuming events to/from Kafka via properties
axon.kafka.publisher.enabled
andaxon.kafka.fetcher.enabled