RdKafkaCaster
in package
Casts RdKafka related classes to array representation.
Tags
Table of Contents
- castBrokerMetadata() : mixed
- castCollectionMetadata() : mixed
- castConf() : mixed
- castKafkaConsumer() : mixed
- castMessage() : mixed
- castPartitionMetadata() : mixed
- castRdKafka() : mixed
- castTopic() : mixed
- castTopicConf() : mixed
- castTopicMetadata() : mixed
- castTopicPartition() : mixed
- extractMetadata() : mixed
Methods
castBrokerMetadata()
public
static castBrokerMetadata(Broker $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Broker
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castCollectionMetadata()
public
static castCollectionMetadata(Collection $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Collection
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castConf()
public
static castConf(Conf $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Conf
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castKafkaConsumer()
public
static castKafkaConsumer(KafkaConsumer $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : KafkaConsumer
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castMessage()
public
static castMessage(Message $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Message
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castPartitionMetadata()
public
static castPartitionMetadata(Partition $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Partition
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castRdKafka()
public
static castRdKafka(RdKafka $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : RdKafka
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castTopic()
public
static castTopic(Topic $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Topic
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castTopicConf()
public
static castTopicConf(TopicConf $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : TopicConf
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castTopicMetadata()
public
static castTopicMetadata(Topic $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
- $c : Topic
- $a : array<string|int, mixed>
- $stub : Stub
- $isNested : bool
Return values
mixed —castTopicPartition()
public
static castTopicPartition(TopicPartition $c, array<string|int, mixed> $a) : mixed
Parameters
- $c : TopicPartition
- $a : array<string|int, mixed>
Return values
mixed —extractMetadata()
private
static extractMetadata(mixed $c) : mixed
Parameters
- $c : mixed