Questions tagged [spring-cloud-stream]

Spring Cloud Stream allows a user to develop and run messaging microservices using Spring Integration and run them locally, or in the cloud, or even on Spring Cloud Data Flow. Just add @EnableBinding and run your app as a Spring Boot app (single application context). You just need to connect to the physical broker for the bus, which is automatic if the relevant bus implementation is available on the classpath.

Use this tag for questions about the Spring Cloud Stream project. It is not intended for general questions about integrating other Spring projects with other technologies.

Spring Cloud Stream's Official Project Site

Spring Cloud Stream's Github Repo

How to contribute

Related tags , , .

2724 questions
0
votes
1 answer

How to patch spring cloud data flow starter application (add oracle driver to jdbc-source app)

Im trying to add an oracle jdbc driver to to the ojdbc-source from SCDF. Regarding to the official guide it should be an easy task but at runtime i always get an NoSuchMethodError: 'void…
IOIO
  • 23
  • 5
0
votes
0 answers

Kafka infinite loop of error "SyncGroup failed: The group began another rebalance. Need to re-join the group. Sent generation was Generation"

I'm having Kafka Consumer group of applications (10 instances) written in Java which uses Spring Cloud Stream. Consumer application is deployed in AWS Kubernetes cluster. Consumer config is using the default values (for ex., max poll interval = 5…
0
votes
1 answer

How to rename the id header of a debezium mongodb connector outbox message

I am trying to use the outbox event router of debezium for mongodb. The consumer is a spring cloud stream application. I cannot deserialize the message because spring cloud expects the message id header to be UUID, but it receives byte[]. I have…
0
votes
0 answers

DlqPartitonFunction Bean not injected into KafkaMessageChannelBinder, eventhhough its defined explictly

I am using spring cloud stream and function with Kafka binder. In case of error records, Records will be published to DLQ. The number of partitions of the original and DLQ topic are not same. So, in this case, a bean of type DlaPartitonFunction to…
0
votes
1 answer

spring-cloud-stream dependency upgrade not updating child dependencies

I have update the dependency spring-cloud-stream to resolve the vulnerability issues in spring-cloud-function-context which is the child compile dependency of: org.springframework.cloud
0
votes
0 answers

How to config rocketmq in spring-cloud-stream 3.2.2?

The documentation on spring.io only have kafka and rabbitMQ, The demo on github(spring-cloud-alibaba-example) only have old version, How to config rocketMQ in spring-cloud-stream-3.2.2 or spring-cloud-alibaba-2021.0.1.0?
August
  • 1
0
votes
2 answers

Trying to debug a spring dataflow stream deployed in kubernetes

I have succesfully deployed a stream using spring dataflow in eks, but I need to debug an application of the stream. I have set up spring.cloud.deployer.kubernetes.environment-variables:…
Juan
  • 544
  • 6
  • 20
0
votes
1 answer

Can I configure max tries for Spring Cloud Stream with RabbitMQ using DLQ

I'm working with Spring Cloud Stream and Rabbit, and I used the config defined here to set up a dead-letter queue (DLQ) and it works very nicely. What I'd like to do is set a maximum amount of times a message goes to the DLQ before being discarded -…
orirab
  • 2,915
  • 1
  • 24
  • 48
0
votes
3 answers

After Migrating from spring boot 2.6.2 to 2.6.6 , getting org.springframework.context.ApplicationContextException

Error logs: org.springframework.context.ApplicationContextException: Failed to start bean 'inputBindingLifecycle'; nested exception…
Sunil Bhagat
  • 99
  • 10
0
votes
1 answer

Kinesis spring binder after upgrade to 2.1.0 number of writes to SpringIntegrationLockRegistry tripled, why?

Recently updated the spring kinesis binder from 2.0.1.RELEASE to 2.1.0 and started to see the DynamoDB table number of writes against the table SpringIntegrationLockRegistry tripled. Wondering if anyone knows what has been changed in this lib that…
0
votes
1 answer

Unable to send Kafka Avro Message to Message Channel

We are trying to push a Kafka notification to the external Kafka Topic by sending the Avro Schema Message to the Message Channel. On sending the message to the channel, we are getting the below exception: Failed to send Message to channel…
0
votes
1 answer

Failed to start bean 'inputBindingLifecycle'; nested exception is java.lang.NoSuchMethodError:

While upgrading spring boot parent from 2.5.10 -> 2.6.6 and spring cloud version from 2020.0.3 -> 2021.0.1 getting the application start error while deploying in k8s. Its running fine in local. Any help on fix? Have upgraded many application with…
0
votes
1 answer

SeekToCurrentBatchErrorHandler deprecated but suggested in the Kafka Binder Reference Guide

The Spring Cloud Stream Kafka Binder Reference Guide states that, in a batch consumer, a SeekToCurrentBatchErrorHandler can be configured to implement a retry functionality. SeekToCurrentBatchErrorHandler, however, is deprecated in favor of…
0
votes
0 answers

Consume Multiple Consumer with different Topics & Avro in Spring cloud stream framework

I am able to figure it out to consume 2 different Avros with different Topics. but i have 3 Topics with 3 different Avro's. how do we do in Spring Cloud kafka stream. working code with 2 topics: when I add consumerProcess-in-2, BiConsumer wont…
0
votes
0 answers

Can we have spring cloud stream working with just the application.yml properties?

I need to create an application which has to bridge multiple Queue solutions like Rabbitmq, Kafka, Azure eventhub. I am thinking to use Spring cloud Stream so that i can define the bridge rules in the application.yml. Ex, I want to consume a message…
1 2 3
99
100