isempty

package
v0.0.0-...-406b1e7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package isempty contains the TopicIsEmpty function.

Outside lib/kafka, don't import this package directly. Instead, import lib/kafka which reexports TopicIsEmpty.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TopicIsEmpty

func TopicIsEmpty(ctx context.Context, kc api.Client, topic string) (bool, error)

TopicIsEmpty finds out whether a Kafka topic is empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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