Skip to content

Configure backend/fetcher apps to wait/retry if Kafka broker is not available #2

Description

@ikumen

The backend and fetcher apps both connect to a configured Kafka broker on startup. During dev/test, we often need to bring up the backend, fetcher and dependent services (e.g, zookeeper, kafka, and solr) with docker-compose. Relying on depends_on doesn't always work since it only waits for the container that the dependent service is running on, not the actual service process. How can we fix this, possible solution:

https://github.com/vishnubob/wait-for-it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions