Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New starts a Kafka consumer that manually commits messages.
Parameters:
- ctx: The context for managing the lifecycle of the function.
- core: A pointer to the Core struct containing necessary dependencies.
This function continuously listens for Kafka consumers and processes messages from specific topics. It runs indefinitely until the context is cancelled.
func NewAutoSubmit ¶
NewAutoSubmit starts a Kafka consumer for auto-submission.
Parameters:
- ctx: The context for managing the lifecycle of the function.
- core: A pointer to the Core struct containing necessary dependencies.
This function continuously listens for messages on specific Kafka topics and processes them accordingly. It runs indefinitely until the context is cancelled.
Types ¶
Click to show internal directories.
Click to hide internal directories.