-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle primitive types in AvroRecordWriterProvider. #176
Conversation
@rnpridgeon @confluentinc/connect |
This issue has been around for quite awhile, I targeted 3.0.x and we can merge up to 3.1.x, 3.2.x, and master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One nit. LGTM
long size = endOffset - startOffset + 1; | ||
assertEquals(records.size(), size); | ||
for (Object avroRecord : records) { | ||
assertEquals(avroRecord, 12); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Use the variable record
instead? Rename it to something that stresses that it's just a static value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, cleaned it up a bit.
* Follows from: confluentinc/kafka-connect-hdfs#130 * Equivalent to: confluentinc/kafka-connect-hdfs#176
Fixes #130