NVIDIA DeepStream SDK API Reference

6.4 Release
nvds_kafka_proto.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  *
10  */
11 
12 
13 #ifndef __NVDS_KAFKA_PROTO_H__
14 #define __NVDS_KAFKA_PROTO_H__
15 
16 #define NVDS_MSGAPI_VERSION "2.0"
17 #define NVDS_MSGAPI_PROTOCOL "KAFKA"
18 
19 #define CONFIG_GROUP_MSG_BROKER_RDKAFKA_CFG "proto-cfg"
20 #define CONFIG_GROUP_MSG_BROKER_RDKAFKA_PRODUCER_CFG "producer-proto-cfg"
21 #define CONFIG_GROUP_MSG_BROKER_RDKAFKA_CONSUMER_CFG "consumer-proto-cfg"
22 #define CONFIG_GROUP_MSG_BROKER_PARTITION_KEY "partition-key"
23 #define CONFIG_GROUP_MSG_BROKER_CONSUMER_GROUP "consumer-group-id"
24 #define CONFIG_GROUP_MSG_BROKER_RDKAFKA_SHARE_CONNECTION "share-connection"
25 #define DEFAULT_KAFKA_CONSUMER_GROUP "test-consumer-group"
26 #define DEFAULT_PARTITION_NAME "sensor.id"
27 
28 #endif