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.
Syntax highlighting code for presentation slides
Analysing Network Data with Apache Kafka, KSQL, and Elasticsearch
Compare and apply a diff / patch recursively
Kafka Connect and Oracle data types
Stream-Table Joins in KSQL: Stream events must be timestamped after the Table messages
Quick ’n Easy Population of Realistic Test Data into Kafka
tl;dr Use curl
to pull data from the Mockaroo REST endpoint, and pipe it into kafkacat
, thus:
curl -s "https://api.mockaroo.com/api/d5a195e0?count=2&key=ff7856d0"| \
kafkacat -b localhost:9092 -t purchases -P