e-mhui commented on code in PR #5706:
URL: https://github.com/apache/inlong/pull/5706#discussion_r954982348
##########
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/source/pulsar/PulsarSource.java:
##########
@@ -62,6 +64,15 @@ public class PulsarSource extends StreamSource {
@ApiModelProperty("Primary key, needed when serialization type is csv,
json, avro")
private String primaryKey;
+ @ApiModelProperty(value = "Data encoding format: UTF-8, GBK")
+ private String dataEncoding = StandardCharsets.UTF_8.toString();
+
+ @ApiModelProperty(value = "Data separator, stored as ASCII code")
+ private String dataSeparator =
DataSeparator.VERTICAL_BAR.getAsciiCode().toString();
Review Comment:
done
--
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]