fetchtopic

package
v0.0.0-...-15099dc Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 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 FetchPartitionHighestSupportedFlexVersion

func FetchPartitionHighestSupportedFlexVersion() int16

func FetchPartitionHighestSupportedVersion

func FetchPartitionHighestSupportedVersion() int16

func FetchPartitionLowestSupportedFlexVersion

func FetchPartitionLowestSupportedFlexVersion() int16

func FetchPartitionLowestSupportedVersion

func FetchPartitionLowestSupportedVersion() int16

Types

type FetchPartition

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

func FetchPartitionDefault

func FetchPartitionDefault() FetchPartition

func (*FetchPartition) Clear

func (o *FetchPartition) Clear()

func (*FetchPartition) CurrentLeaderEpoch

func (o *FetchPartition) CurrentLeaderEpoch() int32

func (*FetchPartition) Equal

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

func (*FetchPartition) FetchOffset

func (o *FetchPartition) FetchOffset() int64

func (*FetchPartition) IsNil

func (o *FetchPartition) IsNil() bool

func (*FetchPartition) LastFetchedEpoch

func (o *FetchPartition) LastFetchedEpoch() int32

func (*FetchPartition) LogStartOffset

func (o *FetchPartition) LogStartOffset() int64

func (*FetchPartition) MarshalJSON

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

func (*FetchPartition) Partition

func (o *FetchPartition) Partition() int32

func (*FetchPartition) PartitionMaxBytes

func (o *FetchPartition) PartitionMaxBytes() int32

func (*FetchPartition) Read

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

func (*FetchPartition) Release

func (o *FetchPartition) Release()

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

func (*FetchPartition) SetCurrentLeaderEpoch

func (o *FetchPartition) SetCurrentLeaderEpoch(val int32)

func (*FetchPartition) SetDefault

func (o *FetchPartition) SetDefault()

func (*FetchPartition) SetFetchOffset

func (o *FetchPartition) SetFetchOffset(val int64)

func (*FetchPartition) SetLastFetchedEpoch

func (o *FetchPartition) SetLastFetchedEpoch(val int32)

func (*FetchPartition) SetLogStartOffset

func (o *FetchPartition) SetLogStartOffset(val int64)

func (*FetchPartition) SetPartition

func (o *FetchPartition) SetPartition(val int32)

func (*FetchPartition) SetPartitionMaxBytes

func (o *FetchPartition) SetPartitionMaxBytes(val int32)

func (*FetchPartition) SetUnknownTaggedFields

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

func (*FetchPartition) SizeInBytes

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

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

func (*FetchPartition) String

func (o *FetchPartition) String() string

func (*FetchPartition) UnknownTaggedFields

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

func (*FetchPartition) Write

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

Jump to

Keyboard shortcuts

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