I'm trying to touch spring-cloud-stream, and creating a sample project of the official blog.
Implementation is totally same as the article.
@SpringBootApplication
public class SimpleConsumerApplication {
@Bean
public…
I am trying out the functional style of using Kafka Streams and have a need to set the truststore and keystore for my app. Below is a very small snippet:
spring:
cloud:
stream:
kafka:
binder:
brokers: blah
…
Cannot get custom store connected to my Transformer in Spring Cloud Stream Binder Kafka 3.x (functional style) following examples from here.
I am defining a KeyValueStore as a @Bean with type StoreBuilder>:
@Bean
public…
I have an application that consumes messages in a protobuf format and when I run it I am getting this error:
Exception in thread "NotificationProcessorService-process-applicationId-0300a3f8-6dab-4f3f-a631-8719178823ce-StreamThread-1"…
I am in the process of migrating an application to the new function based programming model of Spring Cloud Stream but block on event routing.
I have to route events coming from two different kafka topics, and I don't see how I can bind…
in my application kafka messages were consumed from multiple topics by streamlistner but i want to add functional consumer bean for one topic is this possible some topics consuming by streamlistner and some with consumer bean in same…
Have a requirement to use KTable with Spring-Kafka binder configuration, here is the sample code used to read data from topic and print it on the console.
But the application terminated with Throw java.lang.IllegalArgumentException: Method must be…
I am unable to configure custom handlers for my stream consumer using StreamsBuilderFactoryBeanCustomizer.
@Bean
public StreamsBuilderFactoryBeanCustomizer customizer() {
return fb -> {
…
I am have trouble understanding how to properly handle a deserialization exception within Spring Cloud stream. Primarily because the framework implemented does not support headers and the DLQ is supposed to be a separate schema than the original…
I am getting below error when I simply run the code from : https://github.com/schacko-samples/s1p-2019-scst-kafka-talk/tree/master/hello-streams-application.
Error starting ApplicationContext. To display the conditions report re-run your application…
I know that if I implement SC Stream Function in Spring reactive way, I can't send DLQ like traditional imperative way.
To do this, I am trying to manually change the Destination in the MessageHeader so that the message goes to the DLQ…
Running Kafka on my local machine localhost:9092
Created a topic ProductOrders with Replica 1 and Partition 3
Created a spring-boot 2.4.3, spring-kafka 2.6.6 and spring-cloud-stream 3.1.1 application with a POJO OrderEvent, OrderEventPublisher, and…
I just configured SeekToCurrentErrorHandler in spring cloud stream with kafka project and I see tons of logs (one stacktrace per each delivery attempt) which I would like to silence. Is it possible?
PS. I do not know if it is relevant (and whether I…
I'm using spring-cloud-stream kafka binder with schema registry. (not kakfa streams)
What I'm trying to do is when un-deserializable message has got into an input topic, send the un-deserializable message to dlq.
So I tried like below configuration…
We have created a kafka stream application which consumes from source topic and writes to a destination topic.
Now we have a requirement where we will have another set of source and destination topics , and the core logic written in the above…