Last active
February 6, 2020 13:32
-
-
Save zinovyev/62b0074cdd58f06234693df34ff021ce to your computer and use it in GitHub Desktop.
kafka base commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a topic | |
kafka-topics --create --bootstrap-server localhost:9092 --topic test --partitions 1 --replication-factor 1 | |
# List existend topics | |
kafka-topics --list --bootstrap-server localhost:9092 | |
# Start a consumer | |
kafka-console-consumer --bootstrap-server localhost:9092 --topic test --from-beginning | |
# Start a producer | |
kafka-console-producer --broker-list localhost:9092 --topic test | |
# Connectors | |
http://localhost:8083/connectors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment