KAFKA-14708: Use Java thread instead of kafka library for example purpose (#13238)
Remove "kafka.examples.Consumer" dependency on ShutdownableThread. "examples" module should be dependent only on public APIs but not to be dependent upon server common/internal components.
Reviewers: Luke Chen <showuon@gmail.com>
@ -77,19 +88,9 @@ public class Consumer extends ShutdownableThread {
@@ -77,19 +88,9 @@ public class Consumer extends ShutdownableThread {
System.out.println(groupId+" received message : from partition "+record.partition()+", ("+record.key()+", "+record.value()+") at offset "+record.offset());