BAEL-6415: Merged Kafka-3 project into Kafka-2 project

This commit is contained in:
Ralf Ueberfuhr 2023-08-15 07:47:27 +02:00
parent 5dc9e85c2d
commit 1df07e6696
3 changed files with 2 additions and 31 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.kafka;
package com.baeldung.kafka.consumer;
import org.apache.kafka.clients.consumer.*;
import org.apache.kafka.common.serialization.LongDeserializer;
@ -8,7 +8,7 @@ import java.time.Duration;
import java.util.Arrays;
import java.util.Properties;
public class KafkaJava {
public class SimpleConsumerWithBootStrapServers {
public static void main(String[] args) {
try(final Consumer<Long, String> consumer = createConsumer()) {

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>apache-kafka-3</artifactId>
<name>apache-kafka-3</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
</dependency>
</dependencies>
<properties>
<kafka.version>3.5.1</kafka.version>
</properties>
</project>

View File

@ -820,7 +820,6 @@
<module>antlr</module>
<module>apache-kafka</module>
<module>apache-kafka-2</module>
<module>apache-kafka-3</module>
<module>apache-olingo</module>
<module>apache-poi-2</module>
@ -1090,7 +1089,6 @@
<module>antlr</module>
<module>apache-kafka</module>
<module>apache-kafka-2</module>
<module>apache-kafka-3</module>
<module>apache-olingo</module>
<module>apache-poi-2</module>