Explore the necessary steps to send JSON format data to the topic using a Kafka producer and consumer.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Java
- All
- Weekly Review (501)
- Core Java (225)
- Spring (171)
- Testing (157)
- Spring Boot (152)
- Java (142)
- Java String (121)
- REST (109)
- Spring Security (102)
- Spring MVC (99)
- Persistence (96)
- Java IO (92)
- Jakarta EE (77)
- NoSQL (76)
- Java Collections (73)
- Data (73)
- Spring Data (71)
- Algorithms (69)
- Java Concurrency (64)
- DevOps (64)
- Security (57)
- Series (56)
- Java Dates (52)
- JPA (51)
- Reactive (49)
- Maven (47)
- HTTP Client-Side (46)
- Java Map (45)
- Spring Cloud (42)
- Java Numbers (41)
- Java Streams (40)
- Java Array (40)
- JVM (40)
- Java List (38)
- JSON (37)
- Architecture (37)
- Logging (29)
- Spring Persistence (28)
- Jackson (28)
- IDE (27)
- Gradle (25)
- Spring Web (24)
- Networking (20)
- Cloud (20)
- XML (18)
- Web Services (17)
- Groovy (16)
- Spring WebFlux (15)
- Java Web (11)
- Artificial Intelligence (8)
- Docker (7)
- Spring AI (1)
- News (1)
Java Weekly, Issue 506
Filed under Weekly Review
Spring AI, no more N+1 problem, statement caching, streams with virtual threads, service mesh, and good by EC2 classic!
Aggregate Runtime Exceptions in Java Streams
Filed under Java Streams
Learn about different ways to handle exceptions in Java stream pipelines using aggregation.
Clamp Function in Java
Filed under Core Java
Learn three different methods to implement the clamp function in Java.
Java Weekly, Issue 505
Filed under Weekly Review
Hiding numerical identifiers in JPA, continuation, Spring Boot file storage, Java 21 migration, and people support strategies!
How to Fix “Error in Opening Zip File” When Running Maven
Filed under Maven
Explore different ways to resolve the “Error in Opening Zip File” issue.
Generate Models Using OpenAPI With Lombok Annotations
Filed under REST
Learn how to generate a model with Lombok annotations using the OpenAPI code generator.
Java Weekly, Issue 504
Filed under Weekly Review
JPA associations, event-driven Java, Valhalla under the hood, OpenJDK compatibility, and millions of connections with Zuul!
Executing SQL Script File in Java
Filed under Persistence
Learn about the database utilities provided by MyBatis and Spring JDBC to execute SQL files.