syhily commented on code in PR #20:
URL: 
https://github.com/apache/flink-connector-pulsar/pull/20#discussion_r1099897947


##########
flink-connector-pulsar/src/main/java/org/apache/flink/connector/pulsar/sink/PulsarSinkOptions.java:
##########
@@ -137,12 +137,24 @@ private PulsarSinkOptions() {
                     .withDescription(
                             Description.builder()
                                     .text(
-                                            "The metrics from Pulsar Producer 
are only exposed if you enable this option.")
+                                            "The metrics from Pulsar Producer 
are only exposed if you enable this option. ")
                                     .text(
                                             "You should set the %s to a 
positive value if you enable this option.",
                                             
code(PULSAR_STATS_INTERVAL_SECONDS.key()))
                                     .build());
 
+    public static final ConfigOption<Boolean> 
PULSAR_VALIDATE_SINK_MESSAGE_BYTES =
+            ConfigOptions.key(SINK_CONFIG_PREFIX + "validateSinkMessageBytes")

Review Comment:
   The schema validation is disabled by default. We add the validation only if 
the user want to enable it for bytes messages. Otherwise, they should enable 
schema evolution check.



-- 
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]

Reply via email to