Skip to content

Latest commit

 

History

History

compose

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Compose files

This directory contains the compose files for the different environments.

Compose files

File name Description Ports
kafka-postgres.compose This compose file deploys a kafka instance, a kafka UI connected and a postgres instance. kafka:9092
kafka-ui:8080
postgres:5432

How to use

Podman

Prerequisites:

Deploying the compose file

To deploy the compose file with podman, you can use the following command:

podman-compose -f kafka-postgres.compose.yaml up -d

Stopping the compose file

To stop the compose file with podman, you can use the following command:

podman-compose -f kafka-postgres.compose.yaml down

Docker

Prerequisites:

Deploying the compose file

To deploy the compose file with docker, you can use the following command:

docker-compose -f kafka-postgres.compose.yaml up -d

Stopping the compose file

To stop the compose file with docker, you can use the following command:

docker-compose -f kafka-postgres.compose.yaml down

Kafka

The kafka instance is available at localhost:9092 and you can use it to connect to the kafka topics.

Connection properties:

Property Value
brokers localhost:9092
clientId load-generator-client
saslJaasConfig org.apache.kafka.common.security.scram.ScramLoginModule required;
saslMechanism GSSAPI
securityProtocol PLAINTEXT

Kafka UI

The kafka UI is available at http://localhost:8080 and you can use it to monitor the kafka topics.

Postgres

The postgres instance is available at localhost:5432 and you can use it to connect to the database.

Connection properties:

Property Value
serverName localhost
portNumber 5432
databaseName postgres
user postgres
password postgres