-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Describe the bug.
The generated Kafka consumer code currently calls logging methods (e.g., logger.info(...)
) without a proper logger initialization. This results in compile-time errors and may lead to runtime issues
Expected behavior
The generated code should initialize a logger properly, ensuring that all calls to logging methods (e.g., logger.info(...)
) reference a valid, pre-initialized logger instance
Screenshots
NA
How to Reproduce
-
Generate the Kafka consumer code using the AsyncAPI templates.
-
Attempt to compile the generated code.
-
Observe that the logging calls are made without a declared logger, causing compile-time errors.
🖥️ Device Information [optional]
- Operating System (OS):
- Browser:
- Browser Version:
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
Yes I am willing to submit a PR!