啟動zk
zkServer start
啟動kafka
brew services start kafka
進入目錄創(chuàng)建topic
cd /usr/local/Cellar/kafka/2.1.0 ./bin/kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test1
生產(chǎn)
./bin/kafka-console-producer --broker-list localhost:9092-topic test1
消費topic
./bin/kafka-console-consumer --bootstrap-server localhost:9092 --topic test1 --from-beginning
發(fā)送消息的過程
1志膀、數(shù)據(jù)庫,mysql MongoDB,DB測試點
2、服務端性能測試
3是偷、壓力測試 實例(沒有壓測平臺怎么開展)
4掷漱、接口用例測試點
5、接口自動化測試難點整理 (環(huán)境管理、維護成本庐椒、發(fā)現(xiàn)問題)
6测暗、接口/協(xié)議/性能