You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am new in kafka and want to commit kafka message explicitly that means first i will check the acknowledgement from mysql query (any operation) if it's successfully done then we will commit message otherwise it will be try same message again and again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i am new in kafka and want to commit kafka message explicitly that means first i will check the acknowledgement from mysql query (any operation) if it's successfully done then we will commit message otherwise it will be try same message again and again.
But here i set below configuration:
commiting message by using commit().
case RD_KAFKA_RESP_ERR_NO_ERROR:
$topic_name = $message->topic_name;
$timestamp = $message->timestamp;
$payload = $message->payload;
$message_offset = $message->offset;
$queryExecutionStatus = $this->sinkConnector->injectKafka($topic_name, $payload, $timestamp);
break;
Please help me how we can do this.
Beta Was this translation helpful? Give feedback.
All reactions