Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DescribeTopics and DescribeCluster support for admin client API #721

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ serde_json = "1.0.0"
slab = "0.4"
tokio = { version = "1.18", features = ["rt", "time"], optional = true }
tracing = { version = "0.1.30", optional = true }
uuid = "1.10.0"

[dev-dependencies]
async-std = { version = "1.9.0", features = ["attributes"] }
Expand Down
15 changes: 15 additions & 0 deletions rdkafka-sys/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@ pub type RDKafkaGroupResult = bindings::rd_kafka_group_result_t;
/// Native rdkafka mock cluster.
pub type RDKafkaMockCluster = bindings::rd_kafka_mock_cluster_t;

/// Native rdkafka topic collection.
pub type RDKafkaTopicCollection = bindings::rd_kafka_TopicCollection_t;

/// Native rdkafka node.
pub type RDKafkaNode = bindings::rd_kafka_Node_t;

/// Native rdkafka topic description.
pub type RDKafkaTopicDescription = bindings::rd_kafka_TopicDescription_t;

/// Native rdkafka topic partition info.
pub type RDKafkaTopicPartitionInfo = bindings::rd_kafka_TopicPartitionInfo_t;

// ENUMS

/// Client types.
Expand All @@ -119,6 +131,9 @@ pub use bindings::rd_kafka_ResourceType_t as RDKafkaResourceType;
/// Config source.
pub use bindings::rd_kafka_ConfigSource_t as RDKafkaConfigSource;

/// ACL operation.
pub use bindings::rd_kafka_AclOperation_t as RDKafkaAclOperation;

// Errors enum

/// Native rdkafka error code.
Expand Down
Loading