---
title: "kafka 命令发送接收消息"
author: "terry0501"
date: "2018-11-07T16:55:25Z"
tags: []
categories: ["开源软件"]
slug: "kafka"
draft: false
lastmod: "2018-11-07T16:56:10Z"
id: 2433440
url: "https://terry0501.iteye.com/blog/2433440"
---

发送消息 ./kafka-console-consumer.sh  --bootstrap-server 172.16.10.44:9092 --from-beginning --topic BILL_STATUS_CHANGE



接收消息 ./kafka-console-producer.sh --broker-list 127.0.0.1:9092 --topic BILL_STATUS_CHANGE
