davidov541 commented on a change in pull request #933: HIVE-21218: Adding 
support for Confluent Kafka Avro message format
URL: https://github.com/apache/hive/pull/933#discussion_r388038766
 
 

 ##########
 File path: kafka-handler/README.md
 ##########
 @@ -50,6 +50,9 @@ ALTER TABLE
 SET TBLPROPERTIES (
   "kafka.serde.class" = "org.apache.hadoop.hive.serde2.avro.AvroSerDe");
 ```
+
+If you use Confluent Avro serialzier/deserializer with Schema Registry you may 
want to remove 5 bytes from beginning that represents magic byte + schema ID 
from registry.
 
 Review comment:
   How about this: for now, we do not call this Confluent, and instead document 
that if you are using Confluent, you need to use skip bytes = 5. Once we 
implement the feature to use the schema ID properly, then we can use Confluent 
at that point. That way it is clear what functionality must be in place in 
order to have a separate SerDe type.
   
   In a related note, I don't see any reference to a JIRA to implement the 
feature to use the schema ID. Do either of you have that one? If not, should I 
create that and link it for reference?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to