No Install, free polyglot Apache Kafka environment in ephemeral development environment with Node, Java, Python and Go image 51

No Install, free polyglot Apache Kafka environment in ephemeral development environment with Node, Java, Python and Go

Quick Take

This hands-on 2023 workshop uses a Gitpod workspace and Docker Compose to demonstrate a three-broker Apache Kafka cluster together with producers and consumers in Node.js, Java, Python and Go. The repository contains the setup and workshop materials, making it useful for exploring topics, partitions and polyglot Kafka clients. The advertised free-tier and launch-time details describe the original environment, not a current service guarantee. Check the linked project and today’s Gitpod terms before starting.

Click on a button- or this link. Wait about four to five minutes. You will have access to a free cloud based environment with a three-broker-node Apache Kafka Cluster, the AQ HK browser GUI for Kafka and client programs for producing messages and consuming messages in Node, Java, Python and Go. The runtimes and development environments for each of these languages is part of the environment as well.

image

By clicking this link, you will launch a Gitpod workspace – associated with your Github account. This is free. At the time of writing, the first 50 hours each month (yes, 50 hours again each month) of workspace usage are free. This workspace comes with VS Code in the browser, the language runtimes and build tools as well as Docker and Docker Compose. Once running, the workspace is initialized from the GitHub repo with all sources and this README document, Docker Compose is started to launch the containers for the Apache Kafka Cluster and supporting tooling.

The workspace that launches in your browser looks like this:

image

This environment comes with a workshop document that guides you through the basics of configuring Kafka Topics with Partitions, producing and consuming messages and creating Kafka client applications in each of the four programming languages. image

How to approach this workshop today

The value of the exercise is the Kafka concepts, not the original Gitpod pricing or the exact editor service. Start with the workshop repository and inspect its container images, dependencies and workspace configuration before running them. If the original hosted environment is unavailable, reproduce the required services in a local or controlled disposable development environment. A related AMIS tutorial covers an Apache Kafka demo setup with Vagrant. Keep development brokers isolated from public networks and use production-grade access controls for real data.

Resources

GitHub Repo with Gitpod workspace definition and polyglot Kafka workshop materials: https://github.com/lucasjellema/fontys-spring2023-microservices-messaging-kafka