Retrieve the current consumer group id #251
Answered
by
dasch
abrokenjester
asked this question in
Q&A
-
For aggregated logging purposes, I am looking to have my racecar consumer report the consumer group id. I am having a hard time figuring out how to get at it though. Is there a way to access this information from the consumer initializer method? |
Beta Was this translation helpful? Give feedback.
Answered by
dasch
Aug 2, 2021
Replies: 1 comment
-
As in, you'd like to get it programmatically from within the consumer process? If so, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abrokenjester
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As in, you'd like to get it programmatically from within the consumer process? If so,
Racecar.config.group_id
should do the trick.