File tree 4 files changed +12
-11
lines changed
kafka-java-console-sample
4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ repositories {
36
36
37
37
dependencies {
38
38
implementation ' org.apache.kafka:kafka-clients:2.7.+'
39
- implementation ' log4j:log4j:1.2.17'
40
- implementation ' org.slf4j:slf4j-log4j12:1.7.25'
39
+ implementation group : ' org.apache.logging.log4j' , name : ' log4j-core' , version : ' 2.17.+'
40
+ implementation group : ' org.apache.logging.log4j' , name : ' log4j-api' , version : ' 2.17.+'
41
+ implementation ' org.apache.logging.log4j:log4j-slf4j-impl:2.17.+'
41
42
implementation ' com.fasterxml.jackson.core:jackson-databind:2.9.+'
42
43
}
43
44
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ We will not discuss establishing a connection from your laptop to Event Streams
20
20
2 . ** If you don't already have them, install the following prerequisites:**
21
21
22
22
* [git](https://git-scm.com/)
23
- * [Gradle](https://gradle.org/)
23
+ * [Gradle 7 or higher ](https://gradle.org/)
24
24
* Java 8 or higher
25
25
26
26
@@ -133,4 +133,4 @@ We will not discuss establishing a connection from your laptop to Event Streams
133
133
When the producer starts, messages are produced to the topic. Messages are then consumed from the topic by the consuming application.
134
134
You can verify the successful flow of messages when you see ` INFO Message consumed ` from the consumer.
135
135
136
- The sample runs indefinitely until you stop it. To stop the process, run an exit command ` Ctrl+C ` .
136
+ The sample runs indefinitely until you stop it. To stop the process, run an exit command ` Ctrl+C ` .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ rootLogger.level =info
2
+ rootLogger.appenderRef.console.ref =STDOUT
3
+
4
+ appender.console.type =Console
5
+ appender.console.name =STDOUT
6
+ appender.console.layout.type =PatternLayout
7
+ appender.console.layout.pattern =[%d] %p %m (%c)%n
You can’t perform that action at this time.
0 commit comments