Convert Figma logo to code with AI

obsidiandynamics logokafdrop

Kafka Web UI

5,433
832
5,433
47

Top Related Projects

Open-Source Web UI for Apache Kafka Management

11,796

CMAK is a tool for managing Apache Kafka clusters

3,348

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...

Cruise-control is the first of its kind to fully automate the dynamic workload rebalance and self-healing of a Kafka cluster. It provides great value to Kafka users by simplifying the operation of Kafka clusters.

3,746

Redpanda Console is a developer-friendly UI for managing your Kafka/Redpanda workloads. Console gives you a simple, interactive approach for gaining visibility into your topics, masking data, managing consumer groups, and exploring real-time data with time-travel debugging.

Quick Overview

Kafdrop is a web UI for viewing Kafka topics and browsing consumer groups. It is a lightweight application that allows users to view Kafka broker information, topic details, consumer groups, and messages within topics. Kafdrop provides a user-friendly interface for monitoring and managing Kafka clusters.

Pros

  • Easy to set up and use, with a simple web-based interface
  • Provides real-time monitoring of Kafka topics and consumer groups
  • Supports multiple Kafka cluster configurations
  • Allows viewing and searching of messages within topics

Cons

  • Limited functionality compared to more comprehensive Kafka management tools
  • May not be suitable for large-scale production environments
  • Lacks advanced security features for access control
  • Requires manual refresh to update information

Getting Started

To run Kafdrop, you can use Docker:

docker run -d --rm -p 9000:9000 \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e JVM_OPTS="-Xms32M -Xmx64M" \
    -e SERVER_SERVLET_CONTEXTPATH="/" \
    obsidiandynamics/kafdrop

Replace <host:port,host:port> with your Kafka broker addresses. Then access the Kafdrop UI at http://localhost:9000.

For Kubernetes deployment, you can use Helm:

helm repo add obsidiandynamics https://obsidiandynamics.github.io/helm-charts
helm install kafdrop obsidiandynamics/kafdrop --set kafka.brokerConnect=<host:port,host:port>

Again, replace <host:port,host:port> with your Kafka broker addresses.

After deployment, you can access the Kafdrop UI through the service endpoint provided by your Kubernetes cluster.

Competitor Comparisons

Open-Source Web UI for Apache Kafka Management

Pros of kafka-ui

  • More feature-rich UI with advanced functionalities like KSQL and Schema Registry support
  • Active development with frequent updates and new features
  • Better performance for handling large-scale Kafka clusters

Cons of kafka-ui

  • Steeper learning curve due to more complex interface
  • Requires more system resources to run compared to Kafdrop
  • Some users report occasional stability issues with newer releases

Code Comparison

Kafdrop (Java):

@GetMapping("/topic/{name:.+}")
public String topicDetails(@PathVariable("name") String topicName,
                           @RequestParam(value = "view", required = false) String view,
                           Model model) {
    // Topic details implementation
}

kafka-ui (TypeScript):

@Get('/:topicName')
async getTopicDetails(
  @Param('topicName') topicName: string,
  @Query('view') view?: string
): Promise<TopicDetails> {
  // Topic details implementation
}

Both projects use similar routing patterns for topic details, but kafka-ui's TypeScript implementation offers stronger typing and async support out of the box.

11,796

CMAK is a tool for managing Apache Kafka clusters

Pros of CMAK

  • More comprehensive feature set, including cluster management and topic configuration
  • Supports multiple Kafka clusters simultaneously
  • More mature project with longer development history and wider adoption

Cons of CMAK

  • More complex setup and configuration process
  • Heavier resource usage due to its comprehensive nature
  • Less frequent updates and potentially slower bug fixes

Code Comparison

Kafdrop (Java):

@GetMapping("/topic/{name:.+}")
public String topic(@PathVariable("name") String topicName,
                    @RequestParam(value = "view", defaultValue = "overview") String view,
                    Model model) {
    final var topic = kafkaMonitor.getTopic(topicName)
            .orElseThrow(() -> new TopicNotFoundException(topicName));
    model.addAttribute("topic", topic);
    model.addAttribute("view", view);
    return "topic";
}

CMAK (Scala):

def addCluster(cluster: ClusterConfig): Future[Option[Int]] = {
  clusterConfigRepository.addCluster(cluster).map { result =>
    result.map { newClusterId =>
      kafkaManager.addCluster(cluster.name, newClusterId)
      newClusterId
    }
  }
}

Both projects provide web-based management interfaces for Apache Kafka, but CMAK offers more advanced features at the cost of increased complexity. Kafdrop is simpler and more lightweight, focusing primarily on topic and message browsing.

3,348

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...

Pros of AKHQ

  • More comprehensive feature set, including schema registry management and KSQL integration
  • Supports multiple Kafka clusters in a single interface
  • Offers user authentication and role-based access control

Cons of AKHQ

  • More complex setup and configuration compared to Kafdrop
  • Heavier resource usage due to additional features
  • Steeper learning curve for new users

Code Comparison

AKHQ (Kotlin):

@GetMapping("/api/topic")
fun list(): List<TopicDTO> {
    return topicRepository.all()
        .map { TopicDTO(it) }
        .sortedBy { it.name }
}

Kafdrop (Java):

@GetMapping("/topic")
public List<TopicVO> getAllTopics() {
    return kafkaMonitor.getTopics().stream()
            .map(TopicVO::of)
            .sorted(Comparator.comparing(TopicVO::getName))
            .collect(Collectors.toList());
}

Both projects use Spring Boot for their REST APIs, but AKHQ is written in Kotlin while Kafdrop uses Java. AKHQ's codebase tends to be more concise due to Kotlin's language features, while Kafdrop's Java code is more verbose but potentially more familiar to Java developers.

Cruise-control is the first of its kind to fully automate the dynamic workload rebalance and self-healing of a Kafka cluster. It provides great value to Kafka users by simplifying the operation of Kafka clusters.

Pros of Cruise-Control

  • Provides advanced Kafka cluster management and optimization features
  • Offers automated load balancing and resource management
  • Supports multi-tenant Kafka clusters with complex configurations

Cons of Cruise-Control

  • More complex setup and configuration compared to Kafdrop
  • Steeper learning curve for users new to Kafka administration
  • May be overkill for smaller Kafka deployments or simpler use cases

Code Comparison

Kafdrop (Java):

@GetMapping("/topic/{name:.+}")
public String topic(@PathVariable("name") String topicName,
                    @RequestParam(value = "view", defaultValue = "overview") String view,
                    Model model) {
    // Topic view logic
}

Cruise-Control (Java):

public void addBroker(Collection<Integer> brokerIds, boolean dryRun, boolean throttleAddedBrokers,
                      List<String> goals, ModelCompletenessRequirements requirements) {
    // Add broker logic
}

Kafdrop focuses on providing a simple web UI for Kafka topic and message inspection, while Cruise-Control offers more advanced cluster management features. Kafdrop is easier to set up and use for basic monitoring, whereas Cruise-Control provides powerful optimization capabilities but requires more expertise to configure and operate effectively.

3,746

Redpanda Console is a developer-friendly UI for managing your Kafka/Redpanda workloads. Console gives you a simple, interactive approach for gaining visibility into your topics, masking data, managing consumer groups, and exploring real-time data with time-travel debugging.

Pros of Console

  • More modern and feature-rich UI with advanced filtering and search capabilities
  • Supports multiple Kafka-compatible platforms, including Redpanda and Kafka
  • Offers real-time data updates and streaming capabilities

Cons of Console

  • Primarily designed for Redpanda, which may limit some Kafka-specific features
  • Steeper learning curve due to more complex interface and features
  • Requires more system resources to run compared to Kafdrop

Code Comparison

Kafdrop (Java):

@GetMapping("/topic/{name:.+}")
public String topic(@PathVariable("name") String topicName,
                    @RequestParam(value = "view", required = false) String view,
                    Model model) {
    final var topic = kafkaMonitor.getTopic(topicName)
            .orElseThrow(() -> new TopicNotFoundException(topicName));
    model.addAttribute("topic", topic);
    model.addAttribute("consumers", kafkaMonitor.getConsumers(topicName));
    return "topic";
}

Console (TypeScript):

router.get('/topics/:topicName', async (req, res) => {
  const { topicName } = req.params;
  const topic = await kafkaService.getTopic(topicName);
  if (!topic) {
    return res.status(404).json({ error: 'Topic not found' });
  }
  const consumers = await kafkaService.getConsumers(topicName);
  res.json({ topic, consumers });
});

Both repositories provide web-based interfaces for managing Kafka clusters, but Console offers a more comprehensive set of features and a modern UI, while Kafdrop focuses on simplicity and ease of use.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

logo Kafdrop – Kafka Web UI   Tweet

Price Release with mvn Docker Language grade: Java

Kafdrop is a web UI for viewing Kafka topics and browsing consumer groups. The tool displays information such as brokers, topics, partitions, consumers, and lets you view messages.

Overview Screenshot

This project is a reboot of Kafdrop 2.x, dragged kicking and screaming into the world of Java 17+, Kafka 2.x, Helm and Kubernetes. It's a lightweight application that runs on Spring Boot and is dead-easy to configure, supporting SASL and TLS-secured brokers.

Features

  • View Kafka brokers — topic and partition assignments, and controller status
  • View topics — partition count, replication status, and custom configuration
  • Browse messages — JSON, plain text, Avro and Protobuf encoding
  • View consumer groups — per-partition parked offsets, combined and per-partition lag
  • Create new topics
  • View ACLs
  • Support for Azure Event Hubs

Requirements

  • Java 17 or newer
  • Kafka (version 0.11.0 or newer) or Azure Event Hubs

Optional, additional integration:

  • Schema Registry

Getting Started

You can run the Kafdrop JAR directly, via Docker, or in Kubernetes.

Running from JAR

java --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
    -jar target/kafdrop-<version>.jar \
    --kafka.brokerConnect=<host:port,host:port>,...

If unspecified, kafka.brokerConnect defaults to localhost:9092.

Note: As of Kafdrop 3.10.0, a ZooKeeper connection is no longer required. All necessary cluster information is retrieved via the Kafka admin API.

Open a browser and navigate to http://localhost:9000. The port can be overridden by adding the following config:

--server.port=<port> --management.server.port=<port>

Optionally, configure a schema registry connection with:

--schemaregistry.connect=http://localhost:8081

and if you also require basic auth for your schema registry connection you should add:

--schemaregistry.auth=username:password

Finally, a default message and key format (e.g. to deserialize Avro messages or keys) can optionally be configured as follows:

--message.format=AVRO
--message.keyFormat=DEFAULT

Valid format values are DEFAULT, AVRO, PROTOBUF. This can also be configured at the topic level via dropdown when viewing messages. If key format is unspecified, message format will be used for key too.

Configure Protobuf message type

Option 1: Using Protobuf Descriptor

In case of protobuf message type, the definition of a message could be compiled and transmitted using a descriptor file. Thus, in order for kafdrop to recognize the message, the application will need to access to the descriptor file(s). Kafdrop will allow user to select descriptor and well as specifying name of one of the message type provided by the descriptor at runtime.

To configure a folder with protobuf descriptor file(s) (.desc), follow:

--protobufdesc.directory=/var/protobuf_desc

Option 2 : Using Schema Registry

In case of no protobuf descriptor file being supplied the implementation will attempt to create the protobuf deserializer using the schema registry instead.

Defaulting to Protobuf

If preferred the message type could be set to default as follows:

--message.format=PROTOBUF

Running with Docker

Images are hosted at hub.docker.com/r/obsidiandynamics/kafdrop.

Launch container in background:

docker run -d --rm -p 9000:9000 \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e SERVER_SERVLET_CONTEXTPATH="/" \
    obsidiandynamics/kafdrop

Launch container with some specific JVM options:

docker run -d --rm -p 9000:9000 \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e JVM_OPTS="-Xms32M -Xmx64M" \
    -e SERVER_SERVLET_CONTEXTPATH="/" \
    obsidiandynamics/kafdrop

Launch container in background with protobuff definitions:

docker run -d --rm -v <path_to_protobuff_descriptor_files>:/var/protobuf_desc -p 9000:9000 \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e SERVER_SERVLET_CONTEXTPATH="/" \
    -e CMD_ARGS="--message.format=PROTOBUF --protobufdesc.directory=/var/protobuf_desc" \
    obsidiandynamics/kafdrop

Then access the web UI at http://localhost:9000.

Hey there! We hope you really like Kafdrop! Please take a moment to ⭐the repo or Tweet about it.

Running in Kubernetes (using a Helm Chart)

Clone the repository (if necessary):

git clone https://github.com/obsidiandynamics/kafdrop && cd kafdrop

Apply the chart:

helm upgrade -i kafdrop chart --set image.tag=3.x.x \
    --set kafka.brokerConnect=<host:port,host:port> \
    --set server.servlet.contextPath="/" \
    --set cmdArgs="--message.format=AVRO --schemaregistry.connect=http://localhost:8080" \ #optional
    --set jvm.opts="-Xms32M -Xmx64M"

For all Helm configuration options, have a peek into chart/values.yaml.

Replace 3.x.x with the image tag of obsidiandynamics/kafdrop. Services will be bound on port 9000 by default (node port 30900).

Note: The context path must begin with a slash.

Proxy to the Kubernetes cluster:

kubectl proxy

Navigate to http://localhost:8001/api/v1/namespaces/default/services/http:kafdrop:9000/proxy.

Protobuf support via helm chart:

To install with protobuf support, a "facility" option is provided for the deployment, to mount the descriptor files folder, as well as passing the required CMD arguments, via option mountProtoDesc. Example:

helm upgrade -i kafdrop chart --set image.tag=3.x.x \
    --set kafka.brokerConnect=<host:port,host:port> \
    --set server.servlet.contextPath="/" \
    --set mountProtoDesc.enabled=true \
    --set mountProtoDesc.hostPath="<path/to/desc/folder>" \
    --set jvm.opts="-Xms32M -Xmx64M"

Building

After cloning the repository, building is just a matter of running a standard Maven build:

$ mvn clean package

The following command will generate a Docker image:

mvn assembly:single docker:build

Docker Compose

There is a docker-compose.yaml file that bundles a Kafka/ZooKeeper instance with Kafdrop:

cd docker-compose/kafka-kafdrop
docker-compose up

APIs

JSON endpoints

Starting with version 2.0.0, Kafdrop offers a set of Kafka APIs that mirror the existing HTML views. Any existing endpoint can be returned as JSON by simply setting the Accept: application/json header. Some endpoints are JSON only:

  • /topic: Returns a list of all topics.

OpenAPI Specification (OAS)

To help document the Kafka APIs, OpenAPI Specification (OAS) has been included. The OpenAPI Specification output is available by default at the following Kafdrop URL:

/v3/api-docs

It is also possible to access the Swagger UI (the HTML views) from the following URL:

/swagger-ui.html

This can be overridden with the following configuration:

springdoc.api-docs.path=/new/oas/path

You can disable OpenAPI Specification output with the following configuration:

springdoc.api-docs.enabled=false

CORS Headers

Starting in version 2.0.0, Kafdrop sets CORS headers for all endpoints. You can control the CORS header values with the following configurations:

cors.allowOrigins (default is *)
cors.allowMethods (default is GET,POST,PUT,DELETE)
cors.maxAge (default is 3600)
cors.allowCredentials (default is true)
cors.allowHeaders (default is Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization)

You can also disable CORS entirely with the following configuration:

cors.enabled=false

Topic Configuration

By default, you could delete a topic. If you don't want this feature, you could disable it with:

--topic.deleteEnabled=false

By default, you could create a topic. If you don't want this feature, you could disable it with:

--topic.createEnabled=false

Actuator

Health and info endpoints are available at the following path: /actuator

This can be overridden with the following configuration:

management.endpoints.web.base-path=<path>

Guides

Connecting to a Secure Broker

Kafdrop supports TLS (SSL) and SASL connections for encryption and authentication. This can be configured by providing a combination of the following files (placed into the Kafka root directory):

  • kafka.truststore.jks: specifying the certificate for authenticating brokers, if TLS is enabled.
  • kafka.keystore.jks: specifying the private key to authenticate the client to the broker, if mutual TLS authentication is required.
  • kafka.properties: specifying the necessary configuration, including key/truststore passwords, cipher suites, enabled TLS protocol versions, username/password pairs, etc. When supplying the truststore and/or keystore files, the ssl.truststore.location and ssl.keystore.location properties will be assigned automatically.

Using Docker

The three files above can be supplied to a Docker instance in base-64-encoded form via environment variables:

docker run -d --rm -p 9000:9000 \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e KAFKA_PROPERTIES="$(cat kafka.properties | base64)" \
    -e KAFKA_TRUSTSTORE="$(cat kafka.truststore.jks | base64)" \   # optional
    -e KAFKA_KEYSTORE="$(cat kafka.keystore.jks | base64)" \       # optional
    obsidiandynamics/kafdrop

Rather than passing KAFKA_PROPERTIES as a base64-encoded string, you can also place a pre-populated KAFKA_PROPERTIES_FILE into the container:

cat << EOF > kafka.properties
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512
sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="foo" password="bar"
EOF

docker run -d --rm -p 9000:9000 \
    -v $(pwd)/kafka.properties:/tmp/kafka.properties:ro \
    -v $(pwd)/kafka.truststore.jks:/tmp/kafka.truststore.jks:ro \
    -v $(pwd)/kafka.keystore.jks:/tmp/kafka.keystore.jks:ro \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e KAFKA_PROPERTIES_FILE=/tmp/kafka.properties \
    -e KAFKA_TRUSTSTORE_FILE=/tmp/kafka.truststore.jks \   # optional
    -e KAFKA_KEYSTORE_FILE=/tmp/kafka.keystore.jks \       # optional
    obsidiandynamics/kafdrop

It's sometimes needed to load extra classes, e.g. for a SASL client callback handler. To facilitate that, it is possible to mount a folder with extra JARs, like this:

cat << EOF > kafka.properties
security.protocol=SASL_SSL
sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule;
sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler
EOF

mkdir extra-kafdrop-classes
wget --directory-prefix=extra-kafdrop-classes https://repo1.maven.org/maven2/software/amazon/msk/aws-msk-iam-auth/1.0.0/aws-msk-iam-auth-1.0.0.jar

docker run -d --rm -p 9000:9000 \
    -v $(pwd)/kafka.properties:/tmp/kafka.properties:ro \
    -v $(pwd)/kafka.truststore.jks:/tmp/kafka.truststore.jks:ro \
    -v $(pwd)/kafka.keystore.jks:/tmp/kafka.keystore.jks:ro \
    -v $(pwd)/extra-kafdrop-classes:/extra-classes:ro \
    -e KAFKA_BROKERCONNECT=<host:port,host:port> \
    -e KAFKA_PROPERTIES_FILE=/tmp/kafka.properties \
    -e KAFKA_TRUSTSTORE_FILE=/tmp/kafka.truststore.jks \   # optional
    -e KAFKA_KEYSTORE_FILE=/tmp/kafka.keystore.jks \       # optional
    obsidiandynamics/kafdrop

Environment Variables

Basic configuration
NameDescription
KAFKA_BROKERCONNECTBootstrap list of Kafka host/port pairs. Defaults to localhost:9092.
KAFKA_PROPERTIESAdditional properties to configure the broker connection (base-64 encoded).
KAFKA_TRUSTSTORECertificate for broker authentication (base-64 encoded). Required for TLS/SSL.
KAFKA_KEYSTOREPrivate key for mutual TLS authentication (base-64 encoded).
SERVER_SERVLET_CONTEXTPATHThe context path to serve requests on (must end with a /). Defaults to /.
SERVER_PORTThe web server port to listen on. Defaults to 9000.
MANAGEMENT_SERVER_PORTThe Spring Actuator server port to listen on. Defaults to 9000.
SCHEMAREGISTRY_CONNECT The endpoint of Schema Registry for Avro or Protobuf message
SCHEMAREGISTRY_AUTHOptional basic auth credentials in the form username:password.
CMD_ARGSCommand line arguments to Kafdrop, e.g. --message.format or --protobufdesc.directory or --server.port.
Advanced configuration
NameDescription
JVM_OPTSJVM options. E.g.JVM_OPTS: "-Xms16M -Xmx64M -Xss360K -XX:-TieredCompilation -XX:+UseStringDeduplication -noverify"
JMX_PORTPort to use for JMX. No default; if unspecified, JMX will not be exposed.
HOSTThe hostname to report for the RMI registry (used for JMX). Defaults to localhost.
KAFKA_PROPERTIES_FILEInternal location where the Kafka properties file will be written to (if KAFKA_PROPERTIES is set). Defaults to kafka.properties.
KAFKA_TRUSTSTORE_FILEInternal location where the truststore file will be written to (if KAFKA_TRUSTSTORE is set). Defaults to kafka.truststore.jks.
KAFKA_KEYSTORE_FILEInternal location where the keystore file will be written to (if KAFKA_KEYSTORE is set). Defaults to kafka.keystore.jks.
SSL_ENABLEDEnabling HTTPS (SSL) for Kafdrop server. Default is false
SSL_KEY_STORE_TYPEType of SSL keystore. Default is PKCS12
SSL_KEY_STOREPath to keystore file
SSL_KEY_STORE_PASSWORDKeystore password
SSL_KEY_ALIASKey alias

Using Helm

Like in the Docker example, supply the files in base-64 form:

helm upgrade -i kafdrop chart --set image.tag=3.x.x \
    --set kafka.brokerConnect=<host:port,host:port> \
    --set kafka.properties="$(cat kafka.properties | base64)" \
    --set kafka.truststore="$(cat kafka.truststore.jks | base64)" \
    --set kafka.keystore="$(cat kafka.keystore.jks | base64)"

Updating the Bootstrap theme

Edit the .scss files in the theme directory, then run theme/install.sh. This will overwrite src/main/resources/static/css/bootstrap.min.css. Then build as usual. (Requires npm.)

Securing the Kafdrop UI

Kafdrop doesn't (yet) natively implement an authentication mechanism to restrict user access. Here's a quick workaround using NGINX using Basic Auth. The instructions below are for macOS and Homebrew.

Requirements

  • NGINX: install using which nginx > /dev/null || brew install nginx
  • Apache HTTP utilities: which htpasswd > /dev/null || brew install httpd

Setup

Set the admin password (you will be prompted):

htpasswd -c /usr/local/etc/nginx/.htpasswd admin

Add a logout page in /usr/local/opt/nginx/html/401.html:

<!DOCTYPE html>
<p>Not authorized. <a href="<!--# echo var="scheme" -->://<!--# echo var="http_host" -->/">Login</a>.</p>

Use the following snippet for /usr/local/etc/nginx/nginx.conf:

worker_processes 4;

events {
  worker_connections 1024;
}

http {
  upstream kafdrop {
    server 127.0.0.1:9000;
    keepalive 64;
  }

  server {
    listen *:8080;
    server_name _;
    access_log /usr/local/var/log/nginx/nginx.access.log;
    error_log /usr/local/var/log/nginx/nginx.error.log;
    auth_basic "Restricted Area";
    auth_basic_user_file /usr/local/etc/nginx/.htpasswd;

    location / {
      proxy_pass http://kafdrop;
    }

    location /logout {
      return 401;
    }

    error_page 401 /errors/401.html;

    location /errors {
      auth_basic off;
      ssi        on;
      alias /usr/local/opt/nginx/html;
    }
  }
}

Run NGINX:

nginx

Or reload its configuration if already running:

nginx -s reload

To logout, browse to /logout.

Hey there! We hope you really like Kafdrop! Please take a moment to ⭐the repo or Tweet about it.

Contributing Guidelines

See here.

Release workflow

To cut an official release, these are the steps:

  1. Commit a new version on master that has the -SNAPSHOT suffix stripped (see pom.xml). Once the commit is merged, the CI will treat it as a release build, and will end up publishing more artifacts than the regular (non-release/snapshot) build. One of those will be a dockerhub push to the specific version and "latest" tags. (The regular build doesn't update "latest").

  2. You can then edit the release description in GitHub to describe what went into the release.

  3. After the release goes through successfully, you need to prepare the repo for the next version, which requires committing the next snapshot version on master again. So we should increment the minor version and add again the -SNAPSHOT suffix.