Documentation ¶
Overview ¶
Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ProducerStateHighestSupportedFlexVersion() int16
- func ProducerStateHighestSupportedVersion() int16
- func ProducerStateLowestSupportedFlexVersion() int16
- func ProducerStateLowestSupportedVersion() int16
- type ProducerState
- func (o *ProducerState) Clear()
- func (o *ProducerState) CoordinatorEpoch() int32
- func (o *ProducerState) CurrentTxnStartOffset() int64
- func (o *ProducerState) Equal(that *ProducerState) bool
- func (o *ProducerState) IsNil() bool
- func (o *ProducerState) LastSequence() int32
- func (o *ProducerState) LastTimestamp() int64
- func (o *ProducerState) MarshalJSON() ([]byte, error)
- func (o *ProducerState) ProducerEpoch() int32
- func (o *ProducerState) ProducerId() int64
- func (o *ProducerState) Read(buf *bytes.Reader, version int16) error
- func (o *ProducerState) Release()
- func (o *ProducerState) SetCoordinatorEpoch(val int32)
- func (o *ProducerState) SetCurrentTxnStartOffset(val int64)
- func (o *ProducerState) SetDefault()
- func (o *ProducerState) SetLastSequence(val int32)
- func (o *ProducerState) SetLastTimestamp(val int64)
- func (o *ProducerState) SetProducerEpoch(val int32)
- func (o *ProducerState) SetProducerId(val int64)
- func (o *ProducerState) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *ProducerState) SizeInBytes(version int16) (int, error)
- func (o *ProducerState) String() string
- func (o *ProducerState) UnknownTaggedFields() []fields.RawTaggedField
- func (o *ProducerState) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProducerStateHighestSupportedFlexVersion ¶
func ProducerStateHighestSupportedFlexVersion() int16
func ProducerStateHighestSupportedVersion ¶
func ProducerStateHighestSupportedVersion() int16
func ProducerStateLowestSupportedFlexVersion ¶
func ProducerStateLowestSupportedFlexVersion() int16
func ProducerStateLowestSupportedVersion ¶
func ProducerStateLowestSupportedVersion() int16
Types ¶
type ProducerState ¶
type ProducerState struct {
// contains filtered or unexported fields
}
func ProducerStateDefault ¶
func ProducerStateDefault() ProducerState
func (*ProducerState) Clear ¶
func (o *ProducerState) Clear()
func (*ProducerState) CoordinatorEpoch ¶
func (o *ProducerState) CoordinatorEpoch() int32
func (*ProducerState) CurrentTxnStartOffset ¶
func (o *ProducerState) CurrentTxnStartOffset() int64
func (*ProducerState) Equal ¶
func (o *ProducerState) Equal(that *ProducerState) bool
func (*ProducerState) IsNil ¶
func (o *ProducerState) IsNil() bool
func (*ProducerState) LastSequence ¶
func (o *ProducerState) LastSequence() int32
func (*ProducerState) LastTimestamp ¶
func (o *ProducerState) LastTimestamp() int64
func (*ProducerState) MarshalJSON ¶
func (o *ProducerState) MarshalJSON() ([]byte, error)
func (*ProducerState) ProducerEpoch ¶
func (o *ProducerState) ProducerEpoch() int32
func (*ProducerState) ProducerId ¶
func (o *ProducerState) ProducerId() int64
func (*ProducerState) Release ¶
func (o *ProducerState) Release()
Release releases the dynamically allocated fields of this object by returning then to object pools
func (*ProducerState) SetCoordinatorEpoch ¶
func (o *ProducerState) SetCoordinatorEpoch(val int32)
func (*ProducerState) SetCurrentTxnStartOffset ¶
func (o *ProducerState) SetCurrentTxnStartOffset(val int64)
func (*ProducerState) SetDefault ¶
func (o *ProducerState) SetDefault()
func (*ProducerState) SetLastSequence ¶
func (o *ProducerState) SetLastSequence(val int32)
func (*ProducerState) SetLastTimestamp ¶
func (o *ProducerState) SetLastTimestamp(val int64)
func (*ProducerState) SetProducerEpoch ¶
func (o *ProducerState) SetProducerEpoch(val int32)
func (*ProducerState) SetProducerId ¶
func (o *ProducerState) SetProducerId(val int64)
func (*ProducerState) SetUnknownTaggedFields ¶
func (o *ProducerState) SetUnknownTaggedFields(val []fields.RawTaggedField)
func (*ProducerState) SizeInBytes ¶
func (o *ProducerState) SizeInBytes(version int16) (int, error)
SizeInBytes returns the size of this data structure in bytes when it's serialized
func (*ProducerState) String ¶
func (o *ProducerState) String() string
func (*ProducerState) UnknownTaggedFields ¶
func (o *ProducerState) UnknownTaggedFields() []fields.RawTaggedField
func (*ProducerState) Write ¶
func (o *ProducerState) Write(buf *typesbytes.SliceWriter, version int16) error
Click to show internal directories.
Click to hide internal directories.