merlimat commented on a change in pull request #2079: Kinesis sink publish full 
json message
URL: https://github.com/apache/incubator-pulsar/pull/2079#discussion_r199952904
 
 

 ##########
 File path: 
pulsar-io/kinesis/src/main/java/org/apache/pulsar/io/kinesis/KinesisSinkConfig.java
 ##########
 @@ -53,5 +54,28 @@ public static KinesisSinkConfig load(String yamlFile) 
throws IOException {
     public static KinesisSinkConfig load(Map<String, Object> map) throws 
IOException {
         ObjectMapper mapper = new ObjectMapper();
         return mapper.readValue(new ObjectMapper().writeValueAsString(map), 
KinesisSinkConfig.class);
-    }    
+    }
+    
+    /**
+     * Message format in which kinesis-sink converts cms-message and publishes 
to kinesis stream.
+     *
+     */
+    public static enum MessageFormat {
+        /**
+         * Kinesis sink directly publishes cms-payload as a message into the 
kinesis-stream
 
 Review comment:
   `pulsar-payload`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to