We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Team,
I am trying to find best solution on Spring steam with functions. My requirement like below,
We will get request data in a topic(X) and have to respond to two different topics(Y and Z) based on my business logic.
I implemented below code snippet for general process on same topic,
Processer.java
@Bean public Function<request, response> process() { // here i just process my request and return response }
Configuration:
spring: cloud: stream: function: definition: process bindings: process-in-0: destination: X contentType: application/json group: x-input kafka: binder: brokers: localhost:9092
But now requirement got changed like below.
Both topics are available on same brokers.
Please suggest and guide me with good documents and example to design this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Team,
I am trying to find best solution on Spring steam with functions. My requirement like below,
We will get request data in a topic(X) and have to respond to two different topics(Y and Z) based on my business logic.
I implemented below code snippet for general process on same topic,
Processer.java
Configuration:
spring:
cloud:
stream:
function:
definition: process
bindings:
process-in-0:
destination: X
contentType: application/json
group: x-input
kafka:
binder:
brokers: localhost:9092
But now requirement got changed like below.
Both topics are available on same brokers.
Please suggest and guide me with good documents and example to design this.
The text was updated successfully, but these errors were encountered: