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

Added properties to disable autoconfiguration for publishing and consuming events to/from Kafka #241

Merged

Conversation

aupodogov
Copy link
Contributor

This MR add ability to disable autoconfiguration publishing and consuming events to/from Kafka via properties axon.kafka.publisher.enabled and axon.kafka.fetcher.enabled

@CLAassistant
Copy link

CLAassistant commented Feb 2, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@smcvb smcvb left a 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:

  1. I am missing tests for this change.
  2. This is a feature. As such, it should point to the master branch, making it a part of 4.6.0
  3. 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!

@smcvb smcvb added this to the Release 4.6.0 milestone Feb 2, 2022
@aupodogov aupodogov changed the base branch from axon-kafka-4.5.x to master February 2, 2022 15:03
Copy link
Member

@smcvb smcvb left a 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.

# Conflicts:
#	kafka-spring-boot-autoconfigure/src/main/java/org/axonframework/extensions/kafka/autoconfig/KafkaAutoConfiguration.java
@aupodogov
Copy link
Contributor Author

@smcvb can we point this change to 4.5.x to release earlier?

@smcvb smcvb changed the base branch from master to axon-kafka-4.5.x February 3, 2022 12:49
@smcvb smcvb changed the base branch from axon-kafka-4.5.x to master February 3, 2022 12:49
@smcvb
Copy link
Member

smcvb commented Feb 3, 2022

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.

@smcvb smcvb merged commit 799d52a into AxonFramework:master Feb 3, 2022
@smcvb smcvb modified the milestones: Release 4.6.0, Release 4.5.4 Feb 3, 2022
@aupodogov aupodogov deleted the disable-autoconfiguration-properties branch September 2, 2023 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants