Questions tagged [spring-cloud-stream-binder]
51 questions
0
votes
0 answers
Is there binding support for ReactiveKafkaProducerTemplate in Spring Cloud Stream?
Currently I use the following event producer:
@Component
class GenericEventProducer : EventProducer> {
override val sink: Sinks.Many>> = Sinks.many().replay().latest()
@Bean
fun projekte() =…

Andras Hatvani
- 4,346
- 4
- 29
- 45
0
votes
1 answer
Spring cloud stream: As a producer with requiredGroups defined can i specify a routingKey for the queue that will be created?
I could not find anything in the documentation regarding my issue. If it is there and I missed it, please point it out to me.
I have a RabbitMQ message producer service using Spring Cloud Stream, and my configuration is as follows:
spring:
cloud:
…

nicolas
- 385
- 1
- 2
- 12
0
votes
0 answers
Sending arbitrary data to an output binding
I want to update an application that uses Spring Cloud stream with a deprecated annotations approach to functional style.
I already use the legacy approach for classical RabbitMQ producer and consumer, but since in the Spring Cloud Stream 4.x…

Jungle
- 107
- 2
- 11
0
votes
1 answer
Spring cloud stream with Spring Boot 3+
Are there some compatibility issues with SB3.0.6 and spring-cloud-stream:4.0.2? We migrated from 2.7.8 to 3.0.6 and there is problem to "autodetect" channels in AbstractDestination class with same configuration (application.yml) during testing.
Is…

Gondri
- 173
- 1
- 8
0
votes
0 answers
I was trying to execute test case from spring-kafka-cloud-binder-streams github repository. My test case is failing with following error
I am replicating exact code from this…

Kedar Jog
- 11
- 3
0
votes
0 answers
binding-routing-key ignored when using multiple rabbitmq binders in Spring Cloud Stream
I'm trying to connect a small Spring Cloud Stream application to two different RabbitMQ systems.
For both systems, I want to bind a stream input to an existing exchange, specifying a routing key. Spring Cloud Stream can manage an anonymous queue for…

Thijs B.
- 111
- 1
- 1
- 6
0
votes
0 answers
How can I send metrics to to a kinesis destination?
I am using spring cloud stream with the aws kinesis binder.
I have set the following :
spring.cloud.stream.bindings.applicationMetrics.destination=metrics-stream spring.cloud.stream.metrics.properties=spring.application**…

Dominic Martino
- 1
- 1
0
votes
0 answers
Spring Cloud Stream with Kafka Binder
I’m developing a Spring Boot Application to gain more Spring Cloud Stream knowledge. Basically, I want to send/receive messages from Kafka Broker. I previously built an application using Spring Kafka and the Spring Cloud Stream. Still, I use…

guttosm
- 31
- 5
0
votes
0 answers
No qualifying bean of type 'org.springframework.cloud.stream.function.StreamOperations' available?
I am trying to migrate a SB 2.6 micro service to SB 3.0.2, Spring Cloud 2022.0.1 and Java 17. I am using the StreamOperations interface to send messages from within the microservice via a Rabbit binding. The class looks…

Paul Keogh
- 74
- 6
0
votes
0 answers
How to access channel name in ListenerContainerCustomizer when using spring cloud stream binder kafka
I am using spring-cloud-stream-binder-kafka and have implemented stateful retry using DefaultErrorHandler, I want to register different DefaultErrorHandler for different consumer consuming messages from different Kafka topics, and each…

Chintan Radia
- 236
- 2
- 9
0
votes
0 answers
Test Suite for Spring Cloud Stream binder
Is there a test-suite available (from SCS developers probably) which can be used to verify that a binder implementation supports all features of Spring Cloud Stream including partitioning etc.?

Aadish Jain
- 53
- 4
0
votes
1 answer
spring-cloud-stream test-binder not working for a KStream based processor
I am unable to get the test binder working for a kstream based function(doNothing) as shown below.
The same works for a non-kstream based function(uppercase). This uses a kafka binder.
@Configuration
public class CPPNotificationConfiguration {
…

Abhijith Madhav
- 2,748
- 5
- 33
- 44
0
votes
0 answers
Spring Stream Kafka Binder Dynamic destination , How to send message with partition Id
I am using Spring cloud stream kafka for consuming and sending the message to another topic. I have setup compression-type as gzip and have partition Id as well like below which worked fine.
spring:
cloud:
stream:
bindings:
…

Sach
- 41
- 4
0
votes
0 answers
Spring Cloud Stream Rabbit - Enabling error channel reduces throughput
In Spring Cloud Stream Rabbit is there a way to intercept acks in the background. Even though my intent is to only catch NACKS/Errors, since I am enabling publisher returns, it reduces the throughput. I am using a confirmACkChannel to intercept…

Aravind1986
- 15
- 5
0
votes
1 answer
Getting QueuesNotAvailableException when setting spring.cloud.stream.rabbit.bindings..consumer.bindQueue=false
Following errors I am getting in a single stack trace. Want to know where did I go wrong.
org.springframework.amqp.rabbit.listener.QueuesNotAvailableException: Cannot prepare queue for listener. Either the queue doesn't exist or the broker will not…

Ratikanta
- 307
- 6
- 16