feature: TSG-21852 service_function_status support fieldstat4

This commit is contained in:
luwenpeng
2024-07-19 10:02:07 +08:00
parent 9e63902c0d
commit c8d40f1347
15 changed files with 222 additions and 229 deletions

View File

@@ -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);