names

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 names contains the ValidateTopicName function.

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateTopicName

func ValidateTopicName(name string) error

ValidateTopicName returns an error if the given topic name is invalid.

Mirrors org.apache.kafka.common.internals.Topic.validate https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/internals/Topic.java#L36

Types

This section is empty.

Jump to

Keyboard shortcuts

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