Skip to content

use many config files#724

Merged
DmitryRomanov merged 2 commits intomasterfrom
merge-configs
Feb 5, 2025
Merged

use many config files#724
DmitryRomanov merged 2 commits intomasterfrom
merge-configs

Conversation

@DmitryRomanov
Copy link
Copy Markdown
Collaborator

@DmitryRomanov DmitryRomanov commented Dec 18, 2024

./file.d
--config=common.yaml
--config=local.yaml
# common.yaml
pipelines:
  test1:
    input:
        ...
    output:
        type: kafka
 
# local.yaml
pipelines:
  test1:
    output:
        type: file
 
# result
 
pipelines:
  test1:
    input:
        ...
    output:
        type: file
 
 
# for actions overwrite
# common.yaml
pipelines:
  test1:
    ...
    actions:
      - type: discard
 
# local.yaml
pipelines:
  test1:
    ...
    actions:
      - type: modify
 
# result
pipelines:
  test1:
    ...
    actions:
      - type: modify

@DmitryRomanov DmitryRomanov force-pushed the merge-configs branch 2 times, most recently from 84fdf0f to 3c75aed Compare December 20, 2024 05:01
@DmitryRomanov DmitryRomanov marked this pull request as ready for review January 22, 2025 09:41
@DmitryRomanov DmitryRomanov force-pushed the merge-configs branch 3 times, most recently from adc4555 to 3c0d120 Compare January 22, 2025 10:48
@goshansmails goshansmails self-requested a review January 23, 2025 10:45
@DmitryRomanov DmitryRomanov merged commit 75bfd41 into master Feb 5, 2025
8 checks passed
@DmitryRomanov DmitryRomanov deleted the merge-configs branch February 5, 2025 13:37
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.

3 participants