-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Resolve property placeholders in EmbeddedKafka topics #555
Comments
zacholauson
added a commit
to zacholauson/spring-kafka
that referenced
this issue
Feb 3, 2018
… topics Fixes spring-projects#555 * Update EmbeddedKafkaContextCustomizer to resolve property placeholders * Update KafkaStreamsTests to use topic from property * Add property resolving details to EmbeddedKafka javadoc and testing.adoc
zacholauson
added a commit
to zacholauson/spring-kafka
that referenced
this issue
Feb 3, 2018
… topics Fixes spring-projects#555 * Update EmbeddedKafkaContextCustomizer to resolve property placeholders * Update KafkaStreamsTests to use topic from property * Add property resolving details to EmbeddedKafka javadoc and testing.adoc
zacholauson
added a commit
to zacholauson/spring-kafka
that referenced
this issue
Feb 3, 2018
… topics Fixes spring-projects#555 * Update EmbeddedKafkaContextCustomizer to resolve property placeholders * Update KafkaStreamsTests to use topic from property * Add property resolving details to EmbeddedKafka javadoc and testing.adoc
zacholauson
added a commit
to zacholauson/spring-kafka
that referenced
this issue
Feb 3, 2018
… topics Fixes spring-projects#555 * Update EmbeddedKafkaContextCustomizer to resolve property placeholders * Update KafkaStreamsTests to use topic from property * Add property resolving details to EmbeddedKafka javadoc and testing.adoc
zacholauson
added a commit
to zacholauson/spring-kafka
that referenced
this issue
Feb 3, 2018
… topics Fixes spring-projects#555 * Update EmbeddedKafkaContextCustomizer to resolve property placeholders * Update KafkaStreamsTests to use topic from property * Add property resolving details to EmbeddedKafka javadoc and testing.adoc
denis554
added a commit
to denis554/spring-kafka
that referenced
this issue
Mar 27, 2019
Fixes spring-projects/spring-kafka#555 * Update `EmbeddedKafkaContextCustomizer` to resolve property placeholders * Update `KafkaStreamsTests` to use topic from property * Add property resolving details to `EmbeddedKafka` javadoc and testing.adoc * Simple polishing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a project where we are configuring all of our topics in property files, so our tests have to know about the contents of the property files to configure the correct topics. The alternative to this is to use
@TestPropertySource
to override our topic properties, but we have a lot of topics, so it's not that convenient.Ideally the topic attribute of
@EmbeddedKafka
would be able to accept and resolve property placeholders.Example:
The text was updated successfully, but these errors were encountered: