Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
66 views

We use Kafka in Spring-Boot 3.4 and we want to upgrade to 4.0 We have some consumers with a Kafka-Listerner annotation. The whole config is in the application yaml-file. We just have the annotation ...
0 votes
1 answer
62 views

I have a Spring Kafka application with a single consumer. The Kafka client authentication is configured using SASL/OAUTHBEARER over SSL, as shown below: authProps.put(SaslConfigs.SASL_MECHANISM,...
Advice
1 vote
1 replies
57 views

I have Spring Boot with Kafka batching and a topic with 3 partitions. For example, I want to have 1 batch with 100 records continuously if I have a lot of messages in the topic, but if I have a low ...
2 votes
1 answer
183 views

I created a simple application which just sends in a loop messages to Kafka using KafkaTemplate with transaction mode. But, unfortunately, my code doesn't work with @Transactional in the new Spring. I ...
1 vote
0 answers
27 views

I have a Spring Boot / Java application following Domain-Driven Design and Event-Driven Architecture. In my domain service, I create a ReservationCreatedEvent (a domain event) and publish it: ...
1 vote
0 answers
46 views

I’m encountering an issue with possible idempotencyBreachException in a service used by Kafka listener. I’m not entirely sure how to handle this situation correctly. I have a lockExecutor that locks a ...
Best practices
0 votes
0 replies
35 views

I am reading data from a Kafka topic using Kafka Streams and more specifically GlobalKTable to populate my store. In the case of corrupt data that can not successfully be parsed I wish to throw a ...
Best practices
0 votes
7 replies
77 views

I am using Kafka Streams, and trying to figure out the best practice for handling multiple stores that are populated using the same data without having to read it twice. My Kafka Streams service is ...
1 vote
0 answers
62 views

Context. I have to use StreamBridge::send() with Kafka. This is a hard, external requirement. The call itself looks like streambridge.send(binding, message). All good. To capture the non-immediate ...
0 votes
1 answer
36 views

I have one main topic my-test-topic which is consumed in batch, done asynchronously for each message with Future and then joined before committing the offset for the whole batch. The failed ones are ...
0 votes
0 answers
103 views

I'm migrating from Spring Boot 2 to Spring Boot3, i'm NOT migrating to Sprinc Cloud 4 but i will stay to SpringCloud 3 (i know Spring Boot 3 is mandatory if you want to use Spring Cloud 4 but not the ...
1 vote
1 answer
129 views

I’m building a Java microservice using Spring Boot 3.5.7, Kafka, and the Outbox Pattern. In my domain layer, I raise a domain event: package com.turkcell.reservation_service.domain.event; import com....
Best practices
0 votes
0 replies
59 views

I have two Spring Kafka consumers that process batches of messages with manual acknowledgements. This setup has been running correctly for a long time with AckMode.MANUAL_IMMEDIATE. Recently, I ...
0 votes
2 answers
147 views

I'm using Spring boot 3.5.6 and below is my container configuration package com.transmonix.utils; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org....
1 vote
1 answer
331 views

I have a Spring Boot Application that is using Kafka. When I run the code, I was getting the error: Caused by: org.apache.kafka.common.KafkaException: org.apache.kafka.common.config.ConfigException: ...

15 30 50 per page
1
2 3 4 5
...
309

AltStyle によって変換されたページ (->オリジナル) /