confluentinc/cp-kafkacat pulls statistics
By confluentinc (45 listings) · Docker Hub
confluentinc/cp-kafkacat has 31,120,291 recorded pulls on Docker Hub, an increase of 0.0% over the past 30 days, ranking #83 of 1,291 tracked listings.
About confluentinc/cp-kafkacat
kafkacat Docker image
kafkacat is a commandline tool for interacting with Kafka brokers. It can be used to produce and consume messages, as well as query metadata.
The docker image for kafkacat would typically be used in conjunction with Kafka running in a docker environment. The important thing is to understand the networking context of the docker container and the associated Kafka broker to which kafkacat is to connect.
The below examples show how to use the kafkacat Docker image. For general reference on usage of kafkacat see here.
Listing topics on a broker
Assuming your Kafka broker is accessible as kafka:29092 on the Docker network docker-compose_default, you can list topics by running:
docker run --tty \
--network docker-compose_default \
confluentinc/cp-kafkacat \
kafkacat -b kafka:29092 \
-L
Consuming messages from a topic
Assuming your Kafka broker is accessible as kafka:29092 on the Docker network docker-compose_default, you can print messages and their associated metadata from topic foo, as follows:
docker run --tty \
--network docker-compose_default \
confluentinc/cp-kafkacat \
kafkacat -b kafka:29092 -C -K: \
-f '\nKey (%K bytes): %k\t\nValue (%S bytes): %s\n\Partition: %p\tOffset: %o\n--\n' \
-t foo
Producing messages from a file on the host machine
kafkacat can produce messages into Kafka from a flat file. Assuming you have a file called /tmp/my_msgs.txt on the host machine from which you're running Docker, you would run the following to have kafkacat send these messages to the broker accessible as kafka:29092 on the Docker network docker-compose_default:
docker run --network docker-compose_default \
--volume /tmp/my_msgs.txt:/data/my_msgs.txt \
confluentinc/cp-kafkacat \
kafkacat -b kafka:29092 \
-t my_msgs \
-P -l /data/my_msgs.txt
Producing messages inline from a script
This will send two messages, key/value 1/FOO and 2/BAR respectively. It assumes that your Kafka broker is accessible as kafka:29092 on the Docker network docker-compose_default.
docker run --interactive \
--network docker-compose_default \
confluentinc/cp-kafkacat \
kafkacat -b kafka:29092 \
-t test \
-K: \
-P <<EOF
1:FOO
2:BAR
EOF
License
Usage of this image is subject to the license terms of the software contained within. Please refer to Confluent's Docker images documentation reference for further information. The software to extend and build the custom Docker images is available under the Apache 2.0 License.
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub plugins
All 20 confluentinc/cp-kafkacat alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/r/confluentinc/cp-kafkacat. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.