fluent / fluent/fluent-plugin-kafka

Support for wildcard `topic_key`

Open
#430 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
307
Forks
178
Avg merge
10h 37m
Merged PRs (30d)
13

Description

### Is your feature request related to a problem? Please describe.

If I have a wildcard `` for `@type kafka2`, it would be great to have a way for `topic_key` to simply mirror the actual topic that is picked up.

### Describe the solution you'd like

```

@type kafka2

...

# write events to this kafka topic
topic_key TODO # < HERE

@type file
path /var/log/td-agent/buffer/td
flush_interval 10s

default_topic TODO

```

### Describe alternatives you've considered

none

### Additional context

none

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.