So I don't get why we need this logic here? If the schema is not explicitly set by the user, can't we just use SchemaType.Auto? Don't we already have logic here to detect the schema of a topic:
https://github.com/apache/incubator-pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java#L396 [ Full content available at: https://github.com/apache/incubator-pulsar/pull/2537 ] This message was relayed via gitbox.apache.org for [email protected]
