-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
lifecycle/staletype/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messagesThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Description
Describe the solution you'd like
PersistentTopics Interface supports setting automatic topic create. However, admin does not support this configuration.
PersistentTopics#getPartitionedMetadata
public PartitionedTopicMetadata getPartitionedMetadata(
@ApiParam(value = "Specify the tenant", required = true)
@PathParam("tenant") String tenant,
@ApiParam(value = "Specify the namespace", required = true)
@PathParam("namespace") String namespace,
@ApiParam(value = "Specify topic name", required = true)
@PathParam("topic") @Encoded String encodedTopic,
@ApiParam(value = "Is authentication required to perform this operation")
@QueryParam("authoritative") @DefaultValue("false") boolean authoritative,
@ApiParam(value = "Is check configuration required to automatically create topic")
@QueryParam("checkAllowAutoCreation") @DefaultValue("false") boolean checkAllowAutoCreation){
}pulsar client admin: Topics#getPartitionedTopicMetadata
PartitionedTopicMetadata getPartitionedTopicMetadata(String topic) throws PulsarAdminException;Describe alternatives you've considered
I hope interfaces can be added.
PartitionedTopicMetadata getPartitionedTopicMetadata(String topic, boolean checkAllowAutoCreation) throws PulsarAdminException;Additional context
Original issue: streamnative/pulsar-flink#398
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lifecycle/staletype/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messagesThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages