Start ZooKeeper, run CMD and type
zkserver
E:\kafka\kafka_2.12-2.3.0
en run
.\> \ Windows \kafka-server-start.bat.\config\server.properties
CMD
: \kafka\kafka_2.12-2.3.0
<>> kafka-t>s. Bat –create –zookeeper localhost:2181 –replication-factor 1 –partitions 1-topic test
Producer
run CMD, enter kafka bin\ Windows folder
: \kafka\kafka_2.12-2.3.0\bin\ Windows
t>run
kafka-c>le-producer.bat — broke-list localhost:9092 –topic test
E:\kafka\kafka_2.12-2.3.0\bin\ Windows
en run
k>-console-consumer.bat –bootstrap-server localhost:9092 –topic test –from — beginning
Read More:
- kafka-eagle-2.0.3:Note: Kafka version is – or JMX Port is -1 maybe kafka broker jmxport disable.
- Kafka prompts no brokers found when trying to rebalance
- Kafka reported error shutdown broker because all log dirs in… Have failed
- Kafka connection abnormal org.apache.kafka . common.errors.TimeoutException : Failed to update metadata after 60000 ms.
- KAFKA – ERROR Failed to write meta.properties due to (kafka.server.BrokerMetadataCheckpoint)
- Svn warehouse migration in Windows Environment
- Kafka : WARN Error while fetching metadata with correlation id xx : {=UNKNOWN_TOPIC_OR_PARTITION}
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- Configuring OpenGL environment with code blocks16.0 in Windows 10
- Configuring common environment variables in Windows
- Windows batch: File running in the background
- Kafka opens JMX port and reports that the error port is occupied
- K8s deployment Kafka has been reporting errors.
- Centos7 installing Kafka
- After the vs2013 + OpenGL environment is set up, there is an error in running the first program
- Quickly create a local typescript running environment.
- Some solutions to the problem of windows flashback after vs running
- Anaconda create environment, delete environment, activate environment, exit environment
- Running trust error reporting linker ‘link. Exe’ not found on Windows