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

Add a topic instead of pattern #2

Open
keshavbohra opened this issue Jun 13, 2018 · 1 comment
Open

Add a topic instead of pattern #2

keshavbohra opened this issue Jun 13, 2018 · 1 comment

Comments

@keshavbohra
Copy link

keshavbohra commented Jun 13, 2018

My topic for kafka is logs but the option available to add a topic is conversion pattern. So is it ok to use the name instead of pattern?

@hayrullahcansu
Copy link

hayrullahcansu commented Sep 22, 2018

Hey @keshavbohra you can use this library which provides the custom topics pattern and partitions like appname-%property{component}-%class-%method-%level

https://github.com/hayrullahcansu/log4net-kafka-appender

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

No branches or pull requests

2 participants