feature: adding Kafka infrastructure

This commit is contained in:
luwenpeng
2024-07-17 15:47:07 +08:00
parent b59b736e4d
commit cc5a537940
14 changed files with 336 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ extern "C"
#define LOG_TAG_UTILS "UTILS"
#define LOG_TAG_HEALTH_CHECK "HEALTH_CHECK"
#define LOG_TAG_TIMESTAMP "TIMESTAMP"
#define LOG_TAG_KAFKA "KAFKA"
#define ATOMIC_INC(x) __atomic_fetch_add(x, 1, __ATOMIC_RELAXED)
#define ATOMIC_DEC(x) __atomic_fetch_sub(x, 1, __ATOMIC_RELAXED)