Class RmGroupConfigClientImpl
java.lang.Object
io.confluent.rm.kafka.v1.RmGroupConfigClientImpl
- All Implemented Interfaces:
RmGroupConfigClient
Implementation of RmGroupConfigClient using RmClient.
Manages the single GroupConfig resource per Group that contains all group configs.
Follows the same pattern as RmTopicClientImpl - LKC ID is embedded in the ObjectIdentifier scope.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<io.confluent.rm.kafka.v1.GroupConfig> createGroupConfig(io.confluent.rm.kafka.v1.GroupConfig config) Creates a new GroupConfig resource for an Group.CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> deleteGroupConfig(io.confluent.resourcemanager.api.model.identifier.ObjectIdentifier<io.confluent.rm.kafka.v1.GroupConfig> id) Deletes the GroupConfig resource for a Group.CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> getGroupConfig(io.confluent.resourcemanager.api.model.identifier.ObjectIdentifier<io.confluent.rm.kafka.v1.GroupConfig> id) Retrieves the GroupConfig resource for an Group.RmWatcher<io.confluent.rm.kafka.v1.GroupConfig> Creates a watcher to monitor changes to GroupConfig resources.CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> updateDynamicConfigs(io.confluent.rm.kafka.v1.GroupConfig config, io.confluent.rm.kafka.v1.GroupDynamicConfigs dynamicConfigs) Updates the Dynamic Configuration for existing Group resource.
-
Constructor Details
-
RmGroupConfigClientImpl
-
-
Method Details
-
getGroupConfig
public CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> getGroupConfig(io.confluent.resourcemanager.api.model.identifier.ObjectIdentifier<io.confluent.rm.kafka.v1.GroupConfig> id) Description copied from interface:RmGroupConfigClientRetrieves the GroupConfig resource for an Group.- Specified by:
getGroupConfigin interfaceRmGroupConfigClient- Parameters:
id- The ObjectIdentifier with LKC scope attributes (org, environment, logical-kafka-cluster).- Returns:
- A CompletableFuture that completes with an Optional containing the GroupConfig, or empty if the resource is not found.
-
updateDynamicConfigs
public CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> updateDynamicConfigs(io.confluent.rm.kafka.v1.GroupConfig config, io.confluent.rm.kafka.v1.GroupDynamicConfigs dynamicConfigs) Description copied from interface:RmGroupConfigClientUpdates the Dynamic Configuration for existing Group resource.- Specified by:
updateDynamicConfigsin interfaceRmGroupConfigClient- Parameters:
config- The GroupConfig resource to update.- Returns:
- A CompletableFuture that completes with the updated GroupConfig.
-
createGroupConfig
public CompletableFuture<io.confluent.rm.kafka.v1.GroupConfig> createGroupConfig(io.confluent.rm.kafka.v1.GroupConfig config) Description copied from interface:RmGroupConfigClientCreates a new GroupConfig resource for an Group.- Specified by:
createGroupConfigin interfaceRmGroupConfigClient- Parameters:
config- The GroupConfig resource to create.- Returns:
- A CompletableFuture that completes with the created GroupConfig.
-
deleteGroupConfig
public CompletableFuture<Optional<io.confluent.rm.kafka.v1.GroupConfig>> deleteGroupConfig(io.confluent.resourcemanager.api.model.identifier.ObjectIdentifier<io.confluent.rm.kafka.v1.GroupConfig> id) Description copied from interface:RmGroupConfigClientDeletes the GroupConfig resource for a Group.- Specified by:
deleteGroupConfigin interfaceRmGroupConfigClient- Parameters:
id- The ObjectIdentifier with LKC scope attributes.- Returns:
- A CompletableFuture that completes with an Optional containing the deleted GroupConfig, or empty if the resource was not found.
-
GroupConfigWatch
Description copied from interface:RmGroupConfigClientCreates a watcher to monitor changes to GroupConfig resources.- Specified by:
GroupConfigWatchin interfaceRmGroupConfigClient- Returns:
- A Watcher instance for GroupConfig create, update, and delete events
-