Documentation ¶
Index ¶
- type Kafka
- func (*Kafka) Descriptor() ([]byte, []int)
- func (m *Kafka) GetBlob() []byte
- func (m *Kafka) GetHeaders() []*KafkaHeader
- func (m *Kafka) GetKey() []byte
- func (m *Kafka) GetOffset() int64
- func (m *Kafka) GetPartition() int32
- func (m *Kafka) GetTimestamp() int64
- func (m *Kafka) GetTopic() string
- func (m *Kafka) GetValue() []byte
- func (*Kafka) ProtoMessage()
- func (m *Kafka) Reset()
- func (m *Kafka) String() string
- func (m *Kafka) XXX_DiscardUnknown()
- func (m *Kafka) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Kafka) XXX_Merge(src proto.Message)
- func (m *Kafka) XXX_Size() int
- func (m *Kafka) XXX_Unmarshal(b []byte) error
- type KafkaHeader
- func (*KafkaHeader) Descriptor() ([]byte, []int)
- func (m *KafkaHeader) GetKey() string
- func (m *KafkaHeader) GetValue() string
- func (*KafkaHeader) ProtoMessage()
- func (m *KafkaHeader) Reset()
- func (m *KafkaHeader) String() string
- func (m *KafkaHeader) XXX_DiscardUnknown()
- func (m *KafkaHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KafkaHeader) XXX_Merge(src proto.Message)
- func (m *KafkaHeader) XXX_Size() int
- func (m *KafkaHeader) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetKafka() *Kafka
- func (m *Message) GetMessage() isMessage_Message
- func (m *Message) GetMessageId() string
- func (m *Message) GetPlumberId() string
- func (m *Message) GetUnixTimestampUtc() int64
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Kafka
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Blob []byte `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Partition int32 `protobuf:"varint,7,opt,name=partition,proto3" json:"partition,omitempty"` Headers []*KafkaHeader `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
All of the fields will be filled out when reading or relaying messages
func (*Kafka) Descriptor ¶
func (*Kafka) GetHeaders ¶
func (m *Kafka) GetHeaders() []*KafkaHeader
func (*Kafka) GetPartition ¶
func (*Kafka) GetTimestamp ¶
func (*Kafka) ProtoMessage ¶
func (*Kafka) ProtoMessage()
func (*Kafka) XXX_DiscardUnknown ¶
func (m *Kafka) XXX_DiscardUnknown()
func (*Kafka) XXX_Marshal ¶
func (*Kafka) XXX_Unmarshal ¶
type KafkaHeader ¶
type KafkaHeader struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KafkaHeader) Descriptor ¶
func (*KafkaHeader) Descriptor() ([]byte, []int)
func (*KafkaHeader) GetKey ¶
func (m *KafkaHeader) GetKey() string
func (*KafkaHeader) GetValue ¶
func (m *KafkaHeader) GetValue() string
func (*KafkaHeader) ProtoMessage ¶
func (*KafkaHeader) ProtoMessage()
func (*KafkaHeader) Reset ¶
func (m *KafkaHeader) Reset()
func (*KafkaHeader) String ¶
func (m *KafkaHeader) String() string
func (*KafkaHeader) XXX_DiscardUnknown ¶
func (m *KafkaHeader) XXX_DiscardUnknown()
func (*KafkaHeader) XXX_Marshal ¶
func (m *KafkaHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KafkaHeader) XXX_Merge ¶
func (m *KafkaHeader) XXX_Merge(src proto.Message)
func (*KafkaHeader) XXX_Size ¶
func (m *KafkaHeader) XXX_Size() int
func (*KafkaHeader) XXX_Unmarshal ¶
func (m *KafkaHeader) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { // Unique id automatically created by plumber MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // Identifies which plumber instance received the event PlumberId string `protobuf:"bytes,2,opt,name=plumber_id,json=plumberId,proto3" json:"plumber_id,omitempty"` UnixTimestampUtc int64 `protobuf:"varint,99,opt,name=unix_timestamp_utc,json=unixTimestampUtc,proto3" json:"unix_timestamp_utc,omitempty"` // Types that are valid to be assigned to Message: // *Message_Kafka Message isMessage_Message `protobuf_oneof:"Message"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetMessage ¶
func (m *Message) GetMessage() isMessage_Message
func (*Message) GetMessageId ¶
func (*Message) GetPlumberId ¶
func (*Message) GetUnixTimestampUtc ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_Kafka ¶
type Message_Kafka struct {
Kafka *Kafka `protobuf:"bytes,100,opt,name=kafka,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.