daybreak6 / apach-kafka-application-with-java

[아파치 카프카 애플리케이션 프로그래밍 with 자바] 스터디
0 stars 0 forks source link

2주차 스터디 인증하기! #2

Open LangVE opened 3 years ago

LangVE commented 3 years ago

image 접속이 안되네요.. ㅠㅠ

image 인스턴스는 떠있는거 같은데..

image 로그를 보면 socketTimeoutException 이 나고 있고.

kaiwind7 commented 3 years ago

image

2.2 카프카 커맨드 라인 툴

2.2.1 kafka-topic.sh

.\kafka-topics.bat --bootstrap-server my-kafka:9092 --list image .\kafka-topics.bat --bootstrap-server my-kafka:9092 --describe --topic hello.kafka image .\kafka-configs.bat --bootstrap-server my-kafka:9092 --entity-type topics --entity-name hello.kafka --alter --add-config retention.ms=86400000 image .\kafka-configs.bat --bootstrap-server my-kafka:9092 --entity-type topics --entity-name hello.kafka --describe image

2.2.2 kafka-console-producer.sh

.\kafka-console-producer.bat --bootstrap-server my-kafka:9092 --topic hello.kafka image Untitled image

2.2.3 kafka-console-consumer.sh

kafka-console-consumer.bat --bootstrap-server my-kafka:9092 --topic hello.kafka --from-beginning image kafka-console-consumer.bat --bootstrap-server my-kafka:9092 --topic hello.kafka --from-beginning --property print.key=true --property key.separator="-" --group hello-group image

2.2.4 kafka-consumer-groups.sh

kafka-consumer-groups.bat --bootstrap-server my-kafka:9092 --list image kafka-consumer-groups.bat --bootstrap-server my-kafka:9092 --group hello-group --describe image

2.2.5 kafka-verifiable-producer, consumer.sh

kafka-verifiable-producer.sh --bootstrap-server my-kafka:9092 --max-messages 10 --topic verify-test image kafka-verifiable-consumer.sh --bootstrap-server my-kafka:9092 --topic verify-test --group-id test-group image

2.2.6 kafka-delete-records.sh

kafka-delete-records.sh --bootstrap-server my-kafka:9092 --offset-json-file delete-topic.json image