kafka随笔

1、在使用 docker-compose 部署 Kafka 并初始化 topic 之后,可以通过以下几种方法来验证 topic 是否已经成功部署

docker exec -it <kafka-container-name> /bin/bash 
I have no name!@4ee8d653017f:/$ kafka-topics.sh --list --bootstrap-server localhost:9092
attach_upload_backend
attachment_info_tiopic
attachment_report_upload_topic
attachment_upload_topic
decrypted_files_topic
decrypted_info_topic
email_info_topic
email_report_upload_topic
email_upload_backend
email_upload_topic
encrypted_files_topic
report_info_topic
report_upload_backend
report_upload_topic
system_runtime_log_topic
posted @ 2025-05-09 14:00  harrylearn66666  阅读(12)  评论(0)    收藏  举报