Skip to content

bibendi/dip-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dip Kafka

Apache Kafka configuration for Dip infra services.

Usage

  1. Add a service to the application's dip.yml.
infra:
  kafka:
    git: https://github.com/bibendi/dip-kafka.git
  1. Add a network to the application's docker-compose.yml.
networks:
  kafka-net:
    name: ${DIP_INFRA_NETWORK_KAFKA}
    external: true

Where DIP_INFRA_NETWORK_KAFKA is a special variable that is set by Dip.

  1. Add a KAFKA_URL environment variable and the kafka-net network to a Docker Compose service.
services:
  app:
    environment:
      BROKER_URL: kafka:9092
    networks:
      - default
      - kafka-net
  1. Start infra services.
dip infra up
  1. Start the app
dip up

About

Apache Kafka configuration for Dip infra services https://github.com/bibendi/dip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published