Giter Club home page Giter Club logo

springbot_kafka_kubernetes-quickstart's Introduction

Demo Java Apps for Kubernetes Twitter

In this repository, you will find the simple Java apps to run on Kubernetes for a particular scenario. Currently, there are apps for:

  • Kafka (kafka directory)

In order to easily run the apps directly from the source you need to install skaffold.

Articles

I'm using those apps in the several articles on my blog. Here's the list:

  1. How to run and manage Kafka on Kubernetes with the Strimzi operator. We run two simple apps for sending messages (kafka/producer) and receiving them for Kafka topic (kafka/consumer). A detailed guide may be found in the following article: Apache Kafka on Kubernetes with Strimzi

Usage

In order to run the example apps you need to have:

  • JDK17+
  • Maven
  • Skaffold
  • Kubernetes cluster

Apache Kafka

Go to the kafka directory. It contains to sample apps: producer and consumer.

To run them on Kubernetes just execute:

skaffold run --tail 

You can also automatically create and configure Kafka based on Strimzi by activating the kafka-strimzi profile:

skaffold run --tail -p kafka-strimzi 

However, first you need to install Strimzi, e.g. using its Helm chart:

helm repo add strimzi https://strimzi.io/charts
helm install strimzi-kafka-operator strimzi/strimzi-kafka-operator 

springbot_kafka_kubernetes-quickstart's People

Contributors

piomin avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.