-
Notifications
You must be signed in to change notification settings - Fork 483
-
Notifications
You must be signed in to change notification settings - Fork 483
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
kcat built under Windows does not support the High-level KafkaConsumer mode #425
Comments
drlsdee
added a commit
to drlsdee/kcat
that referenced
this issue
Apr 4, 2023
drlsdee
added a commit
to drlsdee/kcat
that referenced
this issue
Apr 19, 2023
Possible solution for edenhill#425
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Cause
kcat.h
andkcat.c
.librdkafka version >= 0.9.0
to enableENABLE_KAFKACONSUMER
that is done inconfigure.self
(lines 28..33).ENABLE_KAFKACONSUMER
remains unset.Related problem
When building kcat on Windows with
ENABLE_KAFKACONSUMER=1
, error "E0020: identifier "LOG_DEBUG" is undefined
" occurs.Cause
LOG_DEBUG
is defined insyslog.h
.syslog.h
is not included (seekcat.c
, lines 29..38) because there is no version for Windows.Possible solution
In
win32_config.h
(well, or somewhere else; it seems to me that since the problem occurs under Windows, it is best here)LOG_*
as insyslog.h
;librdkafka
version check>= 0.9.0
and definition ofENABLE_KAFKACONSUMER
identifierThe text was updated successfully, but these errors were encountered: