一、maxwell打包命令
mvn clean package -Dmaven.test.skip=true
修改timestamp類型字段8小時時差問題
參考:
https://github.com/zendesk/maxwell/issues/903
kafka查看topic和消息內容命令
1、查詢topic,進入kafka目錄:
bin/kafka-topics.sh --list --zookeeper localhost:2181
2、查詢topic內容:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topicName --from-beginning