Pull new version of multiple Docker images
Tiny little snippet this one. Given a list of images:
$ docker images|grep confluent
confluentinc/cp-enterprise-kafka 5.0.0 d0c5528d7f99 3 months ago 600MB
confluentinc/cp-kafka 5.0.0 373a4e31e02e 3 months ago 558MB
confluentinc/cp-zookeeper 5.0.0 3cab14034c43 3 months ago 558MB
confluentinc/cp-ksql-server 5.0.0 691bc3c1991f 4 months ago 493MB
confluentinc/cp-ksql-cli 5.0.0 e521f3e787d6 4 months ago 488MB
…
Now there’s a new version available, and you want to pull down all the latest ones for it:
docker images|grep "^confluentinc"|awk '{print $1}'|xargs -Ifoo docker pull foo:5.1.0
Docker Tips and Tricks with Kafka Connect, ksqlDB, and Kafka
Streaming data from Oracle into Kafka
Tools I Use: iPad Pro
So how DO you make those cool diagrams?
Get mtr working on the Mac
Kafka Connect CLI tricks
ERROR: Invalid interpolation format for “command” option in service…
Doing some funky Docker Compose stuff, including:
Flatten CDC records in KSQL
The problem - nested messages in Kafka
Data comes into Kafka in many shapes and sizes. Sometimes it’s from CDC tools, and may be nested like this:
Exploring JMX with jmxterm
- Check out the jmxterm repository
- Download jmxterm from https://docs.cyclopsgroup.org/jmxterm
Accessing Kafka Docker containers’ JMX from host
Sending multiline messages to Kafka
Window Timestamps in KSQL / Integration with Elasticsearch
Where I’m speaking in the rest of 2018
Kafka Listeners - Explained
(This was cross-posted on the Confluent.io blog)
This question comes up on StackOverflow and such places a lot, so here’s something to try and help.
tl;dr : You need to set advertised.listeners
(or KAFKA_ADVERTISED_LISTENERS
if you’re using Docker images) to the external address (host/IP) so that clients can correctly connect to it. Otherwise they’ll try to connect to the internal host address–and if that’s not reachable then problems ensue.
Put another way, courtesy of Spencer Ruport:
LISTENERS
are what interfaces Kafka binds to.ADVERTISED_LISTENERS
are how clients can connect.