fetchabletopicresponse

package
v0.0.0-...-d5e11c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func PartitionDataHighestSupportedFlexVersion

func PartitionDataHighestSupportedFlexVersion() int16

func PartitionDataHighestSupportedVersion

func PartitionDataHighestSupportedVersion() int16

func PartitionDataLowestSupportedFlexVersion

func PartitionDataLowestSupportedFlexVersion() int16

func PartitionDataLowestSupportedVersion

func PartitionDataLowestSupportedVersion() int16

Types

type PartitionData

type PartitionData struct {
	// contains filtered or unexported fields
}

func PartitionDataDefault

func PartitionDataDefault() PartitionData

func (*PartitionData) AbortedTransactions

func (o *PartitionData) AbortedTransactions() []partitiondata.AbortedTransaction

func (*PartitionData) Clear

func (o *PartitionData) Clear()

func (*PartitionData) CurrentLeader

func (o *PartitionData) CurrentLeader() partitiondata.LeaderIdAndEpoch

func (*PartitionData) DivergingEpoch

func (o *PartitionData) DivergingEpoch() partitiondata.EpochEndOffset

func (*PartitionData) Equal

func (o *PartitionData) Equal(that *PartitionData) bool

func (*PartitionData) ErrorCode

func (o *PartitionData) ErrorCode() int16

func (*PartitionData) HighWatermark

func (o *PartitionData) HighWatermark() int64

func (*PartitionData) IsNil

func (o *PartitionData) IsNil() bool

func (*PartitionData) LastStableOffset

func (o *PartitionData) LastStableOffset() int64

func (*PartitionData) LogStartOffset

func (o *PartitionData) LogStartOffset() int64

func (*PartitionData) MarshalJSON

func (o *PartitionData) MarshalJSON() ([]byte, error)

func (*PartitionData) PartitionIndex

func (o *PartitionData) PartitionIndex() int32

func (*PartitionData) PreferredReadReplica

func (o *PartitionData) PreferredReadReplica() int32

func (*PartitionData) Read

func (o *PartitionData) Read(buf *bytes.Reader, version int16) error

func (*PartitionData) Records

func (o *PartitionData) Records() fields.RecordBatches

func (*PartitionData) Release

func (o *PartitionData) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*PartitionData) SetAbortedTransactions

func (o *PartitionData) SetAbortedTransactions(val []partitiondata.AbortedTransaction)

func (*PartitionData) SetCurrentLeader

func (o *PartitionData) SetCurrentLeader(val partitiondata.LeaderIdAndEpoch)

func (*PartitionData) SetDefault

func (o *PartitionData) SetDefault()

func (*PartitionData) SetDivergingEpoch

func (o *PartitionData) SetDivergingEpoch(val partitiondata.EpochEndOffset)

func (*PartitionData) SetErrorCode

func (o *PartitionData) SetErrorCode(val int16)

func (*PartitionData) SetHighWatermark

func (o *PartitionData) SetHighWatermark(val int64)

func (*PartitionData) SetLastStableOffset

func (o *PartitionData) SetLastStableOffset(val int64)

func (*PartitionData) SetLogStartOffset

func (o *PartitionData) SetLogStartOffset(val int64)

func (*PartitionData) SetPartitionIndex

func (o *PartitionData) SetPartitionIndex(val int32)

func (*PartitionData) SetPreferredReadReplica

func (o *PartitionData) SetPreferredReadReplica(val int32)

func (*PartitionData) SetRecords

func (o *PartitionData) SetRecords(val fields.RecordBatches)

func (*PartitionData) SetSnapshotId

func (o *PartitionData) SetSnapshotId(val partitiondata.SnapshotId)

func (*PartitionData) SetUnknownTaggedFields

func (o *PartitionData) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*PartitionData) SizeInBytes

func (o *PartitionData) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*PartitionData) SnapshotId

func (o *PartitionData) SnapshotId() partitiondata.SnapshotId

func (*PartitionData) String

func (o *PartitionData) String() string

func (*PartitionData) UnknownTaggedFields

func (o *PartitionData) UnknownTaggedFields() []fields.RawTaggedField

func (*PartitionData) Write

func (o *PartitionData) Write(buf *typesbytes.SliceWriter, version int16) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL