-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: reference upstream consumer-groups relationships (#57)
This commit allows consumer-groups -> consumers relationships to be pulled from upstream via the `default_lookup_tags` option. This allows to possibly handle consumer-groups within decK and consumers outside of decK.
- Loading branch information
Showing
5 changed files
with
188 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...integration/testdata/sync/031-consumer-group-consumers-from-upstream/consumer-groups.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
_format_version: "3.0" | ||
_info: | ||
defaults: {} | ||
select_tags: | ||
- project:the-project | ||
- managed-by:deck | ||
default_lookup_tags: | ||
consumers: | ||
- managed-by:the-background-process | ||
- project:the-project | ||
consumer_groups: | ||
- name: group-1 | ||
consumers: | ||
- username: consumer-1 |
16 changes: 16 additions & 0 deletions
16
tests/integration/testdata/sync/031-consumer-group-consumers-from-upstream/initial.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
_format_version: "3.0" | ||
consumer_groups: | ||
- id: c0f6c818-470c-4df7-8515-c8e904765fcc | ||
name: group-1 | ||
tags: | ||
- project:the-project | ||
- managed-by:deck | ||
consumers: | ||
- id: 97cab250-1b0a-4119-aa2e-0756e8931034 | ||
username: consumer-1 | ||
groups: | ||
- id: c0f6c818-470c-4df7-8515-c8e904765fcc | ||
name: group-1 | ||
tags: | ||
- project:the-project | ||
- managed-by:the-background-process |