(PECL rdkafka >= 0.9.1)
This class represents a topic when using RdKafka\Producer. It can not be instantiated directly, RdKafka\Producer::newTopic() should be used instead.
$partition
, integer $msgflags
[, string $payload
= NULL
[, string $key
= NULL
[, string $opaque
= NULL
]]] ) : void$partition
, integer $msgflags
, string $payload
[, string $key
= NULL
[, array $headers
= NULL
[, integer $timestamp_ms
= NULL
[, string $opaque
= NULL
]]]] ) : void