feature: TSG-21852 service_function_status support fieldstat4
This commit is contained in:
@@ -216,6 +216,12 @@ void kafka_destroy(struct kafka *handle)
|
||||
|
||||
int kafka_send(struct kafka *handle, enum topic_idx idx, const char *data, int len)
|
||||
{
|
||||
if (!handle)
|
||||
{
|
||||
LOG_ERROR("%s: handle is NULL", LOG_TAG_KAFKA);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (idx < 0 || idx >= MAX_TOPIC_NUM)
|
||||
{
|
||||
LOG_ERROR("%s: invalid topic index: %d", LOG_TAG_KAFKA, idx);
|
||||
|
||||
Reference in New Issue
Block a user