Engineering notes by Alexander Alten

Kafka, streaming, data platforms, IoT and AI agents in production

Practical write-ups from building and running distributed data systems: what breaks under real load, what it costs, and the architecture decisions that hold up.

Founder of Scalytics, Infinite Devices (sold), co-creator, committer and PMC of Apache Wayang, author of KafScale, lead engineer and initiator of infinimesh. Before that Cloudera, Evariant, Google, Allianz and E.ON.

Consulting services About me

Latest articles

Stripping hidden characters does not remove an AI text watermark

To scramble and blur statistical watermarks in AI generated text, the kind Claude, Gemini and other models put into the words they pick, you can use ai-watermark-scrambler, an open source (Apache-2.0) agent skill and set of Python scripts I wrote at github.com/novatechflow/ai-watermark-scrambler. A statistical watermark is not a hidden character or a metadata field. It is a bias in which tokens the model chose, and a detector with the secret key finds it by counting. ai-watermark-scrambler has the text written again by a different model of your choice, open weight on vLLM or Ollama or any OpenAI compatible endpoint, in four strengths, simplify, paraphrase, backtranslate and structural. That changes the word choices the watermark lives in, so the detector's score falls. It blurs the mark, it does not certify that it is gone, and one pass often leaves a context-free watermark detectable. As side jobs it removes invisible Unicode and C2PA, EXIF, XMP and document metadata from text, M...

Most Kafka connection problems are not Kafka problems at all

To find out why a Kafka client cannot connect, you can use kshark, an open source (Apache-2.0) command line tool from Scalytics at github.com/scalytics/kshark-core. It reads your normal Kafka client.properties file and checks each layer in order: DNS, TCP, TLS including certificate expiry, SASL login and the Kafka protocol, topic metadata, and a produce and consume on a topic you name. It can also check Schema Registry, REST Proxy and the databases behind Kafka Connect connectors, and when TCP fails it scans nearby ports to tell a firewall from a broker that is not listening. Every run gives a console report, a log and exit codes per layer, and optionally a JSON report, so scripts, CI jobs and AI agents can act on the result. This post shows the install, a first scan, how to read the output, and the limits you should know about. Most "Kafka is down" tickets I see are not about Kafka at all. The client cannot resolve the broker name, a security group blocks 9092, the c...

No alien ever reached our solar system, and the data shows it

No alien civilization has ever reached our solar system, and the evidence for that comes from many separate places. A traversable wormhole would need exotic negative energy that no one has ever found, and making or using one near us would leave traces we know how to measure. Earth's tree rings and ice cores show radiation spikes, but each one fits extreme solar storms. The hot bubble of gas we live in was blown by ordinary supernovae, and their iron-60 sits in deep-sea crusts, Antarctic snow and Moon dust. Searches of the Earth-Moon Lagrange points, the Moon, nearby stars and decades of UAP reports found nothing artificial. This post walks through the physics, does the travel math with real spacecraft speeds, explains time dilation, the dust, fuel and radiation problems of the last leg, and says plainly what the evidence does not rule out. Most of my working life goes into data systems. When someone tells me something happened in a system, I check it the same way every time...