Documentation ¶
Index ¶
- Variables
- type CreateSkipRequest
- func (*CreateSkipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSkipRequest) GetOption() SkipOption
- func (x *CreateSkipRequest) GetTopics() map[string]*Topic
- func (*CreateSkipRequest) ProtoMessage()
- func (x *CreateSkipRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSkipRequest) Reset()
- func (x *CreateSkipRequest) String() string
- type DLQMessage
- func (*DLQMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DLQMessage) GetHeaders() map[string]string
- func (x *DLQMessage) GetKey() string
- func (x *DLQMessage) GetOffset() int64
- func (x *DLQMessage) GetPartition() int32
- func (x *DLQMessage) GetTimestamp() string
- func (x *DLQMessage) GetTopic() string
- func (x *DLQMessage) GetValue() string
- func (*DLQMessage) ProtoMessage()
- func (x *DLQMessage) ProtoReflect() protoreflect.Message
- func (x *DLQMessage) Reset()
- func (x *DLQMessage) String() string
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InfoResponse) GetDlq() *DLQMessage
- func (x *InfoResponse) GetSkip() map[string]*Topic
- func (*InfoResponse) ProtoMessage()
- func (x *InfoResponse) ProtoReflect() protoreflect.Message
- func (x *InfoResponse) Reset()
- func (x *InfoResponse) String() string
- type Partition
- type Response
- type SkipOption
- type Topic
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SkipOption_name = map[int32]string{ 0: "APPEND", 1: "REPLACE", } SkipOption_value = map[string]int32{ "APPEND": 0, "REPLACE": 1, } )
Enum value maps for SkipOption.
View Source
var File_wkafka_wkafka_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateSkipRequest ¶
type CreateSkipRequest struct { Topics map[string]*Topic `` /* 153-byte string literal not displayed */ Option SkipOption `protobuf:"varint,2,opt,name=option,proto3,enum=wkafka.SkipOption" json:"option,omitempty"` // contains filtered or unexported fields }
func (*CreateSkipRequest) Descriptor
deprecated
func (*CreateSkipRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSkipRequest.ProtoReflect.Descriptor instead.
func (*CreateSkipRequest) GetOption ¶
func (x *CreateSkipRequest) GetOption() SkipOption
func (*CreateSkipRequest) GetTopics ¶
func (x *CreateSkipRequest) GetTopics() map[string]*Topic
func (*CreateSkipRequest) ProtoMessage ¶
func (*CreateSkipRequest) ProtoMessage()
func (*CreateSkipRequest) ProtoReflect ¶
func (x *CreateSkipRequest) ProtoReflect() protoreflect.Message
func (*CreateSkipRequest) Reset ¶
func (x *CreateSkipRequest) Reset()
func (*CreateSkipRequest) String ¶
func (x *CreateSkipRequest) String() string
type DLQMessage ¶ added in v0.3.4
type DLQMessage struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Partition int32 `protobuf:"varint,2,opt,name=partition,proto3" json:"partition,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DLQMessage) Descriptor
deprecated
added in
v0.3.4
func (*DLQMessage) Descriptor() ([]byte, []int)
Deprecated: Use DLQMessage.ProtoReflect.Descriptor instead.
func (*DLQMessage) GetHeaders ¶ added in v0.3.4
func (x *DLQMessage) GetHeaders() map[string]string
func (*DLQMessage) GetKey ¶ added in v0.3.4
func (x *DLQMessage) GetKey() string
func (*DLQMessage) GetOffset ¶ added in v0.3.4
func (x *DLQMessage) GetOffset() int64
func (*DLQMessage) GetPartition ¶ added in v0.3.4
func (x *DLQMessage) GetPartition() int32
func (*DLQMessage) GetTimestamp ¶ added in v0.3.4
func (x *DLQMessage) GetTimestamp() string
func (*DLQMessage) GetTopic ¶ added in v0.3.4
func (x *DLQMessage) GetTopic() string
func (*DLQMessage) GetValue ¶ added in v0.3.4
func (x *DLQMessage) GetValue() string
func (*DLQMessage) ProtoMessage ¶ added in v0.3.4
func (*DLQMessage) ProtoMessage()
func (*DLQMessage) ProtoReflect ¶ added in v0.3.4
func (x *DLQMessage) ProtoReflect() protoreflect.Message
func (*DLQMessage) Reset ¶ added in v0.3.4
func (x *DLQMessage) Reset()
func (*DLQMessage) String ¶ added in v0.3.4
func (x *DLQMessage) String() string
type InfoResponse ¶ added in v0.3.4
type InfoResponse struct { Skip map[string]*Topic `` /* 149-byte string literal not displayed */ Dlq *DLQMessage `protobuf:"bytes,2,opt,name=dlq,proto3" json:"dlq,omitempty"` // contains filtered or unexported fields }
func (*InfoResponse) Descriptor
deprecated
added in
v0.3.4
func (*InfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
func (*InfoResponse) GetDlq ¶ added in v0.3.4
func (x *InfoResponse) GetDlq() *DLQMessage
func (*InfoResponse) GetSkip ¶ added in v0.3.4
func (x *InfoResponse) GetSkip() map[string]*Topic
func (*InfoResponse) ProtoMessage ¶ added in v0.3.4
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) ProtoReflect ¶ added in v0.3.4
func (x *InfoResponse) ProtoReflect() protoreflect.Message
func (*InfoResponse) Reset ¶ added in v0.3.4
func (x *InfoResponse) Reset()
func (*InfoResponse) String ¶ added in v0.3.4
func (x *InfoResponse) String() string
type Partition ¶
type Partition struct { Offsets []int64 `protobuf:"varint,1,rep,packed,name=offsets,proto3" json:"offsets,omitempty"` Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"` // contains filtered or unexported fields }
func (*Partition) Descriptor
deprecated
func (*Partition) GetOffsets ¶
func (*Partition) ProtoMessage ¶
func (*Partition) ProtoMessage()
func (*Partition) ProtoReflect ¶
func (x *Partition) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type SkipOption ¶
type SkipOption int32
const ( SkipOption_APPEND SkipOption = 0 SkipOption_REPLACE SkipOption = 1 )
func (SkipOption) Descriptor ¶
func (SkipOption) Descriptor() protoreflect.EnumDescriptor
func (SkipOption) Enum ¶
func (x SkipOption) Enum() *SkipOption
func (SkipOption) EnumDescriptor
deprecated
func (SkipOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use SkipOption.Descriptor instead.
func (SkipOption) Number ¶
func (x SkipOption) Number() protoreflect.EnumNumber
func (SkipOption) String ¶
func (x SkipOption) String() string
func (SkipOption) Type ¶
func (SkipOption) Type() protoreflect.EnumType
type Topic ¶
type Topic struct { Partitions map[int32]*Partition `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Topic) Descriptor
deprecated
func (*Topic) GetPartitions ¶
func (*Topic) ProtoMessage ¶
func (*Topic) ProtoMessage()
func (*Topic) ProtoReflect ¶
func (x *Topic) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.