This directory contains the compose files for the different environments.
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 |
To deploy the compose file with podman, you can use the following command:
podman-compose -f kafka-postgres.compose.yaml up -d
To stop the compose file with podman, you can use the following command:
podman-compose -f kafka-postgres.compose.yaml down
To deploy the compose file with docker, you can use the following command:
docker-compose -f kafka-postgres.compose.yaml up -d
To stop the compose file with docker, you can use the following command:
docker-compose -f kafka-postgres.compose.yaml down
The kafka instance is available at localhost:9092
and you can use it to connect to the kafka topics.
Property | Value |
---|---|
brokers | localhost:9092 |
clientId | load-generator-client |
saslJaasConfig | org.apache.kafka.common.security.scram.ScramLoginModule required; |
saslMechanism | GSSAPI |
securityProtocol | PLAINTEXT |
The kafka UI is available at http://localhost:8080
and you can use it to monitor the kafka topics.
The postgres instance is available at localhost:5432
and you can use it to connect to the database.
Property | Value |
---|---|
serverName | localhost |
portNumber | 5432 |
databaseName | postgres |
user | postgres |
password | postgres |