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

@@ -8,6 +8,7 @@ extern "C"
#include <sched.h>
#include "kafka.h"
#include "policy.h"
#include "timestamp.h"
#include "packet_io.h"
@@ -99,6 +100,7 @@ struct sce_ctx
int cpu_affinity_mask[MAX_THREAD_NUM];
cpu_set_t coremask;
struct kafka *kfk;
struct timestamp *ts;
struct packet_io *io;
struct global_metrics *metrics;