Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created August 26, 2021 06:31
Show Gist options
  • Select an option

  • Save ereshzealous/b172a55798a9e2c05d4a070def363c6d to your computer and use it in GitHub Desktop.

Select an option

Save ereshzealous/b172a55798a9e2c05d4a070def363c6d to your computer and use it in GitHub Desktop.
server:
port: 9001
spring:
cloud:
stream:
function:
definition: fizzBuzzProducer;fizzBuzzProcessor;fizzBuzzConsumer
bindings:
fizzBuzzProducer-out-0:
destination: numbers
fizzBuzzProcessor-in-0:
destination: numbers
fizzBuzzProcessor-out-0:
destination: fizz-buzz
fizzBuzzConsumer-in-0:
destination: fizz-buzz
kafka:
binder:
brokers: localhost:9092
auto-create-topics: true
@michelverheijen
Copy link

michelverheijen commented Jun 13, 2023

Hi @ereshzealous
I think it should be spring.cloud.function.definition instead of spring.cloud.stream.function.definition

In the text of your article, it's correct: https://medium.com/geekculture/spring-cloud-streams-with-functional-programming-model-93d49696584c, but not in this application.yml which is shown below the text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment