I have a Spring Cloud Stream project using the Kafka binder and I'm trying to understand and eventually customize the RetryTemplate used by Cloud Stream.
I'm not finding a lot of documentation on how this works, but what I've read leads me to the…
I am using Spring Cloud Stream 3.1.2 for KafkaStreams. The programming models are:
Functional Programming
Imperative Programming
The latter one uses annotations as all the other annotations that the Spring is provided to be used. But, it is…
I think it's related to the below links, but I don't understand.
https://issues.apache.org/jira/browse/KAFKA-6535
https://issues.apache.org/jira/browse/KAFKA-6150
Kafka Streams deleting consumed repartition records, to reduce disk usage
It's…
I am using Spring Cloud Stream Kafka binder to consume messages from Kafka. I am able to make my sample work with a single Kafka Binder as below
spring:
cloud:
stream:
kafka:
binder:
consumer-properties:…
My Scs application has two Kafka producers with this configuration:
spring:
cloud:
function:
definition: myProducer1;myProducer2
stream:
bindings:
myproducer1-out-0:
destination: topic1
producer:
…
I am using Spring Boot 2.7.0 and Spring Cloud Microservices stack where I'm trying to send the notification though kafka and getting the below error -
Error -
2022-06-12 13:18:51.114 INFO [order-service,472b506d2515980c,472b506d2515980c] 21889 ---…
We have multiple applications consumer listening to the same kafka topic and a producer sets the message header when sending message to the topic so specific instance can evaluate the header and process the message.…
I have a spring boot application which has two functionalities Http requests and kafka Messages handling. I want this application to run in mode which is enabled from application.yml i.e if the user wants to enable it only for http requests then…
I have create a spring-boot-2 gradle project, also in build.gradle file i have added Kafka related dependency which given below.
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-zipkin'
compile…
When I try to test a spring cloud stream function based method, it always happens NullPointerException about InputDestination.
I have two questions:
It's hard for me to know how to write UT from the official doc. official test doc
Besides, how to…
I need to set a specific client.id value for Kafka Streams flows with Spring Cloud Stream dynamically.
I know that you can set the value statically as follows:
spring:
cloud:
stream:
kafka:
streams:
binder:
…
I am using Spring Boot 2.5.2 and Spring Cloud 2020.0.3. I am attempting to wrap a rest service call which saves a record to a DB using JPA (CrudRepository.save) and then uses StreamBridge to post a message to a Kafka topic using spring-cloud-stream…
We are using spring-cloud-stream and planning to upgrade our Kafka version.
Our applications using spring-cloud-stream:2.0.0 (spring-kafka 2.1.7) with apache kafka server 1.0.1
and also using spring-cloud-sleuth:2.0.0 for tracking.
We are going to…
I have a Spring cloud stream based Kafka Streams application where I'm binding a Global KTable to a Compact topic. When I push a Tombstone record to the topic (Non-empty key with null value) - my Kafka streams application fails with Deserialization…