nicoloboschi opened a new pull request, #15807:
URL: https://github.com/apache/pulsar/pull/15807

   ### Motivation
   Currently JDBC Sinks only supports Avro or JSON schema.
   
   ### Modifications
   
   * Added support for the KeyValue schema. 
     * All the fields included in the Key schema and in the JSON schema are 
collected in a HashMap. Then the value for each JDBC column are looked up by 
the column name (specified in the Sink config).
     * If a value is included in the key and in the value, the value one will 
be taken.
     * If a structured field is read, an error will be thrown
   * The Sink now is converted from Sink<GenericRecord> to Sink<GenericObject> 
(which is a compatible change)
   * Added tests in the SQLLite module 
   * Added integration tests in the  PostGre sink tester
   
   - [x] `doc-not-needed` 


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