NVIDIA DeepStream SDK API Reference

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