-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Document how to implement Kafka Streams Interactive Queries #365
Labels
Comments
artembilan
added a commit
to artembilan/spring-kafka
that referenced
this issue
Jul 13, 2017
Fixes spring-projects#365 Fixes spring-projects#317 * Add `closeTimeout` option to the `KStreamBuilderFactoryBean` to avoid infinite wait on the internal `KafkaStreams` during `stop()` phase * Document with samples how to get access to the `KafkaStreams` instance via `KStreamBuilderFactoryBean` injection
See linked PR #367. Thank you for the report! |
@artembilan thank you for clearing this up so quickly! |
denis554
added a commit
to denis554/spring-kafka
that referenced
this issue
Mar 27, 2019
Fixes spring-projects/spring-kafka#365 Fixes spring-projects/spring-kafka#317 * Add `closeTimeout` option to the `KStreamBuilderFactoryBean` to avoid infinite wait on the internal `KafkaStreams` during `stop()` phase * Document with samples how to get access to the `KafkaStreams` instance via `KStreamBuilderFactoryBean` injection
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently (1.2.2) the documentation indicates how to configure and start you Kafka Streams processes. Also according to the documentation the KafkaStreams instance is automatically managed by the framework.
The point is that in order to implement Interactive Queries we need to have access to the
KafkaStreams
instance and from this point on is kind of a wild guess how to properly do it. It would be really helpful if the specific setup necessary to implement Interactive Queries were documented:My approach was this, but unfortunately it doesn't work:
In my service class I try to inject
KStreamBuilderFactoryBean
to access the underlyingKafkaStreams
instance and thus, query my previously configured store:But the Spring Boot app doesn't even start:
The text was updated successfully, but these errors were encountered: