Categorygithub.com/confluentinc/kafka-rest-sdk-go/kafkarestv3

# README

Go API client for kafkarestv3

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./kafkarestv3"

Documentation for API Endpoints

All URIs are relative to http://localhost:8082/v3

ClassMethodHTTP requestDescription
ACLV3ApiCreateKafkaAclsPost /clusters/{cluster_id}/aclsCreate ACLs
ACLV3ApiDeleteKafkaAclsDelete /clusters/{cluster_id}/aclsDelete ACLs
ACLV3ApiGetKafkaAclsGet /clusters/{cluster_id}/aclsSearch ACLs
BalancerStatusV3ApiClustersClusterIdBalancerAnyUnevenLoadGetGet /clusters/{cluster_id}/balancer/any-uneven-loadGet AnyUnevenLoad status
BalancerStatusV3ApiClustersClusterIdBalancerGetGet /clusters/{cluster_id}/balancerGet status of the balancer
BrokerApiClustersClusterIdBrokersdeletePostPost /clusters/{cluster_id}/brokers:deleteDelete several brokers
BrokerReplicaExclusionApiClustersClusterIdBrokerReplicaExclusionsBrokerIdGetGet /clusters/{cluster_id}/broker-replica-exclusions/{broker_id}Get a Broker Replica Exclusions.
BrokerReplicaExclusionApiClustersClusterIdBrokerReplicaExclusionsGetGet /clusters/{cluster_id}/broker-replica-exclusionsGet all Broker Replica Exclusions.
BrokerReplicaExclusionApiClustersClusterIdBrokerReplicaExclusionscreatePostPost /clusters/{cluster_id}/broker-replica-exclusions:createCreate Broker Replica Exclusions
BrokerReplicaExclusionApiClustersClusterIdBrokerReplicaExclusionsdeletePostPost /clusters/{cluster_id}/broker-replica-exclusions:deleteDelete Broker Replica Exclusions
BrokerTaskApiClustersClusterIdBrokersBrokerIdTasksGetGet /clusters/{cluster_id}/brokers/{broker_id}/tasksList Broker Tasks of a specific Broker
BrokerTaskApiClustersClusterIdBrokersBrokerIdTasksTaskTypeGetGet /clusters/{cluster_id}/brokers/{broker_id}/tasks/{task_type}Get single Broker Task.
BrokerTaskApiClustersClusterIdBrokersTasksGetGet /clusters/{cluster_id}/brokers/-/tasksList Broker Tasks
BrokerTaskApiClustersClusterIdBrokersTasksTaskTypeGetGet /clusters/{cluster_id}/brokers/-/tasks/{task_type}List Broker Tasks of a specific TaskType
BrokerV3ApiClustersClusterIdBrokersBrokerIdDeleteDelete /clusters/{cluster_id}/brokers/{broker_id}Delete Broker
BrokerV3ApiClustersClusterIdBrokersBrokerIdGetGet /clusters/{cluster_id}/brokers/{broker_id}Get Broker
BrokerV3ApiClustersClusterIdBrokersBrokerIdPartitionReplicasGetGet /clusters/{cluster_id}/brokers/{broker_id}/partition-replicasSearch Replicas by Broker
BrokerV3ApiClustersClusterIdBrokersGetGet /clusters/{cluster_id}/brokersList Brokers
ClusterLinkingV3ApiCreateKafkaLinkPost /clusters/{cluster_id}/linksCreate a cluster link
ClusterLinkingV3ApiCreateKafkaMirrorTopicPost /clusters/{cluster_id}/links/{link_name}/mirrorsCreate a mirror topic
ClusterLinkingV3ApiDeleteKafkaLinkDelete /clusters/{cluster_id}/links/{link_name}Delete the cluster link
ClusterLinkingV3ApiDeleteKafkaLinkConfigDelete /clusters/{cluster_id}/links/{link_name}/configs/{config_name}Reset the given config to default value
ClusterLinkingV3ApiGetKafkaLinkGet /clusters/{cluster_id}/links/{link_name}Describe the cluster link
ClusterLinkingV3ApiGetKafkaLinkConfigsGet /clusters/{cluster_id}/links/{link_name}/configs/{config_name}Describe the config under the cluster link
ClusterLinkingV3ApiListKafkaLinkConfigsGet /clusters/{cluster_id}/links/{link_name}/configsList all configs of the cluster link
ClusterLinkingV3ApiListKafkaLinksGet /clusters/{cluster_id}/linksList all cluster links in the dest cluster
ClusterLinkingV3ApiListKafkaMirrorTopicsGet /clusters/{cluster_id}/links/-/mirrorsList mirror topics
ClusterLinkingV3ApiListKafkaMirrorTopicsUnderLinkGet /clusters/{cluster_id}/links/{link_name}/mirrorsList mirror topics
ClusterLinkingV3ApiReadKafkaMirrorTopicGet /clusters/{cluster_id}/links/{link_name}/mirrors/{mirror_topic_name}Describe the mirror topic
ClusterLinkingV3ApiUpdateKafkaLinkConfigPut /clusters/{cluster_id}/links/{link_name}/configs/{config_name}Alter the config under the cluster link
ClusterLinkingV3ApiUpdateKafkaLinkConfigBatchPut /clusters/{cluster_id}/links/{link_name}/configs:alterBatch Alter Cluster Link Configs
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsFailoverPost /clusters/{cluster_id}/links/{link_name}/mirrors:failoverFailover the mirror topics
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsPausePost /clusters/{cluster_id}/links/{link_name}/mirrors:pausePause the mirror topics
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsPromotePost /clusters/{cluster_id}/links/{link_name}/mirrors:promotePromote the mirror topics
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsPromoteLocalAndPauseRemoteMirrorPost /clusters/{cluster_id}/links/{link_name}/mirrors:promote-local-and-pause-remote-mirrorPromote the local mirror topic and Pause the remote mirror topic
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsPromoteLocalAndStartRemoteMirrorPost /clusters/{cluster_id}/links/{link_name}/mirrors:promote-local-and-start-remote-mirrorPromote the local mirror topic and start the remote mirror topic
ClusterLinkingV3ApiUpdateKafkaMirrorTopicsResumePost /clusters/{cluster_id}/links/{link_name}/mirrors:resumeResume the mirror topics
ClusterV3ApiClustersGetGet /clustersList Clusters
ClusterV3ApiGetKafkaClusterGet /clusters/{cluster_id}Get Cluster
ConfigsV3ApiClustersClusterIdBrokersBrokerIdConfigsGetGet /clusters/{cluster_id}/brokers/{broker_id}/configsList Broker Configs
ConfigsV3ApiClustersClusterIdBrokersBrokerIdConfigsNameDeleteDelete /clusters/{cluster_id}/brokers/{broker_id}/configs/{name}Reset Broker Config
ConfigsV3ApiClustersClusterIdBrokersBrokerIdConfigsNameGetGet /clusters/{cluster_id}/brokers/{broker_id}/configs/{name}Get Broker Config
ConfigsV3ApiClustersClusterIdBrokersBrokerIdConfigsNamePutPut /clusters/{cluster_id}/brokers/{broker_id}/configs/{name}Update Broker Config
ConfigsV3ApiClustersClusterIdBrokersBrokerIdConfigsalterPostPost /clusters/{cluster_id}/brokers/{broker_id}/configs:alterBatch Alter Broker Configs
ConfigsV3ApiClustersClusterIdBrokersConfigsGetGet /clusters/{cluster_id}/brokers/-/configsList All Broker Configs
ConfigsV3ApiDeleteKafkaClusterConfigDelete /clusters/{cluster_id}/broker-configs/{name}Reset Cluster Config
ConfigsV3ApiDeleteKafkaTopicConfigDelete /clusters/{cluster_id}/topics/{topic_name}/configs/{name}Reset Topic Config
ConfigsV3ApiGetKafkaClusterConfigGet /clusters/{cluster_id}/broker-configs/{name}Get Cluster Config
ConfigsV3ApiGetKafkaTopicConfigGet /clusters/{cluster_id}/topics/{topic_name}/configs/{name}Get Topic Config
ConfigsV3ApiListKafkaAllTopicConfigsGet /clusters/{cluster_id}/topics/-/configsGet All Topic Configs
ConfigsV3ApiListKafkaClusterConfigsGet /clusters/{cluster_id}/broker-configsList Cluster Configs
ConfigsV3ApiListKafkaDefaultTopicConfigsGet /clusters/{cluster_id}/topics/{topic_name}/default-configsList Default Topic Configs
ConfigsV3ApiListKafkaTopicConfigsGet /clusters/{cluster_id}/topics/{topic_name}/configsList Topic Configs
ConfigsV3ApiUpdateKafkaClusterConfigPut /clusters/{cluster_id}/broker-configs/{name}Update Cluster Config
ConfigsV3ApiUpdateKafkaClusterConfigsPost /clusters/{cluster_id}/broker-configs:alterBatch Alter Cluster Configs
ConfigsV3ApiUpdateKafkaTopicConfigPut /clusters/{cluster_id}/topics/{topic_name}/configs/{name}Update Topic Config
ConfigsV3ApiUpdateKafkaTopicConfigBatchPost /clusters/{cluster_id}/topics/{topic_name}/configs:alterBatch Alter Topic Configs
ConsumerGroupV3ApiGetKafkaConsumerGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/consumers/{consumer_id}Get Consumer
ConsumerGroupV3ApiGetKafkaConsumerAssignmentGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/consumers/{consumer_id}/assignments/{topic_name}/partitions/{partition_id}Get Consumer Assignment
ConsumerGroupV3ApiGetKafkaConsumerGroupGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}Get Consumer Group
ConsumerGroupV3ApiGetKafkaConsumerGroupLagSummaryGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/lag-summaryGet Consumer Group Lag Summary.
ConsumerGroupV3ApiListKafkaConsumerAssignmentGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/consumers/{consumer_id}/assignmentsList Consumer Assignments
ConsumerGroupV3ApiListKafkaConsumerGroupsGet /clusters/{cluster_id}/consumer-groupsList Consumer Groups
ConsumerGroupV3ApiListKafkaConsumerLagsGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/lagsList Consumer Lags
ConsumerGroupV3ApiListKafkaConsumersGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/consumersList Consumers
PartitionApiClustersClusterIdTopicsPartitionsReassignmentGetGet /clusters/{cluster_id}/topics/-/partitions/-/reassignmentList All Replica Reassignments
PartitionApiClustersClusterIdTopicsTopicNamePartitionsPartitionIdReassignmentGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}/reassignmentGet Replica Reassignments
PartitionApiClustersClusterIdTopicsTopicNamePartitionsReassignmentGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/-/reassignmentSearch Replica Reassignments By Topic
PartitionV3ApiGetKafkaConsumerLagGet /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/lags/{topic_name}/partitions/{partition_id}Get Consumer Lag
PartitionV3ApiGetKafkaPartitionGet /clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}Get Partition
PartitionV3ApiListKafkaPartitionsGet /clusters/{cluster_id}/topics/{topic_name}/partitionsList Partitions
RecordsV3ApiClustersClusterIdTopicsTopicNameRecordsPostPost /clusters/{cluster_id}/topics/{topic_name}/recordsProduce records to the given topic.
RemoveBrokerTaskApiClustersClusterIdRemoveBrokerTasksBrokerIdGetGet /clusters/{cluster_id}/remove-broker-tasks/{broker_id}Get Remove Broker Task
RemoveBrokerTaskApiClustersClusterIdRemoveBrokerTasksGetGet /clusters/{cluster_id}/remove-broker-tasksList Remove Broker Tasks
ReplicaApiClustersClusterIdTopicsTopicNamePartitionsPartitionIdReplicasBrokerIdGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}/replicas/{broker_id}Get Replica
ReplicaApiClustersClusterIdTopicsTopicNamePartitionsPartitionIdReplicasGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}/replicasList Replicas
ReplicaStatusApiClustersClusterIdTopicsPartitionsReplicaStatusGetGet /clusters/{cluster_id}/topics/-/partitions/-/replica-statusList All Replica Statuses from a cluster.
ReplicaStatusApiClustersClusterIdTopicsTopicNamePartitionsPartitionIdReplicaStatusGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}/replica-statusList Partition Replica Statuses.
ReplicaStatusApiClustersClusterIdTopicsTopicNamePartitionsReplicaStatusGetGet /clusters/{cluster_id}/topics/{topic_name}/partitions/-/replica-statusList All Partition Replica Statuses.
ReplicaV3ApiClustersClusterIdBrokersBrokerIdPartitionReplicasGetGet /clusters/{cluster_id}/brokers/{broker_id}/partition-replicasSearch Replicas by Broker
TopicV3ApiCreateKafkaTopicPost /clusters/{cluster_id}/topicsCreate Topic
TopicV3ApiDeleteKafkaTopicDelete /clusters/{cluster_id}/topics/{topic_name}Delete Topic
TopicV3ApiGetKafkaTopicGet /clusters/{cluster_id}/topics/{topic_name}Get Topic
TopicV3ApiListKafkaTopicsGet /clusters/{cluster_id}/topicsList Topics
UnregisterV3ApiClustersClusterIdBrokersBrokerIdunregisterPostPost /clusters/{cluster_id}/brokers/{broker_id}:unregisterUnregister a Broker

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

[email protected]