Description
Currently we have to use something like Environment.streamCreator().stream("stream.stream").create()
which even is not mentioned in the docs: https://docs.spring.io/spring-amqp/reference/html/#super-streams.
We do have an auto-creation for SuperStream
though, perhaps something similar could be achieved for regular stream.
Something like this:
@Bean
Stream myStream(Environment env) {
return Stream.builder().environment(env).name(...).build();
}
Or something like Map.of("x-queue-type", "stream")
for regular Queue
declaration is enough so far?
Shouldn't this be mentioned in the doc then somehow?
Also there is no pointers in the doc about spring-rabbit-stream
dependency.
We also need to present a sample application somewhere.
@joshlong also asked about Rabbit Stream checkbox on start.spring.io, similar to the Apache Kafka Streams, but that fully different story.