forked from kafka-ops/julie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add topology metadata support for topics and users (kafka-ops#200)
* Add topology metadata support for topics and users * Add documentation on the metadata feature Co-authored-by: Aksel Hilde <[email protected]>
- Loading branch information
Showing
8 changed files
with
216 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
context: "context" | ||
projects: | ||
- name: "foo with metadata" | ||
consumers: | ||
- principal: "User:App0" | ||
metadata: | ||
system: "System0" | ||
producers: | ||
- principal: "User:App1" | ||
metadata: | ||
system: "System1" | ||
streams: | ||
- principal: "User:StreamsApp1" | ||
metadata: | ||
contactInfo: "[email protected]" | ||
topics: | ||
read: | ||
- "topicA" | ||
write: | ||
- "topicB" | ||
connectors: | ||
- principal: "User:Connect1" | ||
metadata: | ||
system: "System3" | ||
contactInfo: "[email protected]" | ||
status_topic: "status" | ||
offset_topic: "offset" | ||
configs_topic: "configs" | ||
topics: | ||
read: | ||
- "topicB" | ||
topics: | ||
- name: "topicA" | ||
metadata: | ||
domain: "Sales" | ||
owner: "DepartmentA" | ||
consumers: | ||
- principal: "User:App4" | ||
metadata: | ||
system: "System4" | ||
config: | ||
replication.factor: "1" | ||
num.partitions: "1" | ||
- name: "topicB" | ||
metadata: | ||
domain: "ProductionStatistics" | ||
owner: "DepartmentB" | ||
dataType: "avro" | ||
schemas: | ||
value.schema.file: "schemas/bar-value.avsc" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
context: "contextOrg" | ||
source: "source" | ||
projects: | ||
- name: "foo with metadata" | ||
consumers: | ||
- principal: "User:App0" | ||
metadata: | ||
system: "OwnerSystem0" | ||
producers: | ||
- principal: "User:App1" | ||
metadata: | ||
contactInfo: "[email protected]" | ||
streams: | ||
- principal: "User:StreamsApp1" | ||
metadata: | ||
system: "OwnerSystemS1" | ||
topics: | ||
read: | ||
- "topicA" | ||
write: | ||
- "topicB" | ||
connectors: | ||
- principal: "User:Connect1" | ||
metadata: | ||
system: "OwnerSystemC1" | ||
status_topic: "status" | ||
offset_topic: "offset" | ||
configs_topic: "configs" | ||
topics: | ||
read: | ||
- "topicB" | ||
topics: | ||
- name: "topicA" | ||
metadata: | ||
domain: "SomeInformationModelDomain" | ||
consumers: | ||
- principal: "User:App4" | ||
metadata: | ||
system: "OwnerSystem4" | ||
config: | ||
replication.factor: "1" | ||
num.partitions: "1" | ||
- name: "topicB" | ||
metadata: | ||
domain: "SomeInformationModelDomain" | ||
owner: "DataOwnerDepartment" | ||
dataType: "avro" | ||
schemas: | ||
value.schema.file: "schemas/bar-value.avsc" |