the-other-tim-brown opened a new pull request, #6135:
URL: https://github.com/apache/hudi/pull/6135

   
   ## What is the purpose of the pull request
   
   - Adds support for a ProtoKafkaSource based on RFC 57 
   
   ## Brief change log
   
     - Adds `PROTO`  to `Source.SourceType` enum
     - Handles `PROTO` type in `SourceFormatAdapter` by converting to Avro from 
proto Message objects. Conversion to Row goes Proto -> Avro -> Row currently
     - Added `ProtoClassBasedSchemaProvider` to generate schemas for a proto 
class that is currently on the classpath
     - Added `ProtoKafkaSource` which parses byte[] into a class that is on the 
path
     - Added `ProtoConversionUtil` which exposes methods for creating schemas 
and translating from Proto messages to Avro GenericRecords
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
     - Added `TestProtoKafkaSource` to validate the flow from Kafka to Hudi
     - Added `TestProtoClassBasedSchemaProvider` to validate schemas are 
properly generated
     - Added `TestProtoConversionUtil` to validate the conversion from Proto to 
Avro is working as expected for all proto types
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.
   


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