librdkafka
The Apache Kafka C/C++ client library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rd_kafka_vu_t Struct Reference

VTYPE + argument container for use with rd_kafka_produce_va() More...

#include <rdkafka.h>

Data Fields

rd_kafka_vtype_t vtype
 
union {
   const char *   cstr
 
   rd_kafka_topic_t *   rkt
 
   int   i
 
   int32_t   i32
 
   int64_t   i64
 
   struct {
      void *   ptr
 
      size_t   size
 
   }   mem
 
   struct {
      const char *   name
 
      const void *   val
 
      ssize_t   size
 
   }   header
 
   rd_kafka_headers_t *   headers
 
   void *   ptr
 
   char   _pad [64]
 
u
 

Detailed Description

VTYPE + argument container for use with rd_kafka_produce_va()

See RD_KAFKA_V_..() macros below for which union field corresponds to which RD_KAFKA_VTYPE_...

Field Documentation

rd_kafka_vtype_t rd_kafka_vu_t::vtype

RD_KAFKA_VTYPE_..

char rd_kafka_vu_t::_pad[64]

Padding size for future-proofness

union { ... } rd_kafka_vu_t::u

Value union, see RD_KAFKA_V_.. macros for which field to use.


The documentation for this struct was generated from the following file: