Jason918 commented on a change in pull request #13297:
URL: https://github.com/apache/pulsar/pull/13297#discussion_r770284194
##########
File path:
pulsar-client-admin-api/src/main/java/org/apache/pulsar/client/admin/Topics.java
##########
@@ -3693,4 +3694,47 @@ void setSubscriptionTypesEnabled(String topic,
* @return a map of replicated subscription status on a topic
*/
CompletableFuture<Map<String, Boolean>>
getReplicatedSubscriptionStatusAsync(String topic, String subName);
+
+ /**
+ * Get the strategy used to check the a new schema provided by a producer
is compatible with the current schema
+ * before it is installed.
+ *
+ * @param topic The topic in whose policy we are interested
+ * @return the strategy used to check compatibility
+ * @throws PulsarAdminException
+ * Unexpected error
+ */
+ SchemaCompatibilityStrategy getSchemaCompatibilityStrategy(String topic)
throws PulsarAdminException;
Review comment:
We don't need add topic policies commands to `admin.topics()` any more,
they are deprecated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]