Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add configuration for Kafka consumer groups via environment variables #112

Merged

Conversation

Masterchen09
Copy link
Contributor

@Masterchen09 Masterchen09 commented Mar 5, 2024

To have configurable consumer groups, this PR introduces three new environment variables which are used for the names of the three existing pipelines - the names of the pipelines are used for the consumer groups:

DATAHUB_ACTIONS_INGESTION_EXECUTOR_CONSUMER_GROUP_ID (ingestion_executor)
DATAHUB_ACTIONS_SLACK_CONSUMER_GROUP_ID (datahub_slack_action)
DATAHUB_ACTIONS_TEAMS_CONSUMER_GROUP_ID (datahub_teams_action)

If the environment variables are not provided the existing pipeline names will be used by default.

There will be another PR in the datahub-helm repository which will use these environment variables.

edit: The other PR in the datahub-helm repository.

Copy link

github-actions bot commented Mar 5, 2024

Unit Test Results (build & test)

63 tests  ±0   63 ✔️ ±0   3s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit ec9596b. ± Comparison against base commit 18c118d.

♻️ This comment has been updated with latest results.

@Masterchen09 Masterchen09 force-pushed the configurable-consumer-groups branch from 1eeb094 to ec9596b Compare May 26, 2024 12:39
@jjoyce0510 jjoyce0510 merged commit 01661f0 into acryldata:main Jun 6, 2024
6 checks passed
@Masterchen09 Masterchen09 deleted the configurable-consumer-groups branch June 7, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants