3

In my application.yml, I have this code :

spring.cloud.stream:
  function:
    definition: producer; processor; consumer
  bindings:
    producer-out-0:
      destination: numbers
    processor-in-0:
      destination: numbers
    processor-out-0:
      destination: squares
    consumer-in-0:
      destination: squares

But I am getting this error: Topic name can only have ASCII alphanumerics, '.', '_' and '-', but was: ' consumer-in-0'. Can someone see what is the issue?

2
  • Must be a misleading nested error, Add a line break after last squares? Commented Jan 27, 2022 at 6:57
  • No, That was the last-line. Commented Jan 27, 2022 at 10:17

1 Answer 1

4

I founded the error in this line there should be no spaces after semi-colons:

definition: producer; processor; consumer

It should be like:

definition: producer;processor;consumer
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.