-
Notifications
You must be signed in to change notification settings - Fork 76
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
Adding sample cases for byte[] and byte[][] triggers #52
Adding sample cases for byte[] and byte[][] triggers #52
Conversation
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 to me.
I recommend adding E2E tests to ensure that byte[] is working and getting one item at a time. The same way that byte[][] is processing message batches.
src/Microsoft.Azure.WebJobs.Extensions.Kafka/Config/KafkaExtensionConfigProvider.cs
Show resolved
Hide resolved
src/Microsoft.Azure.WebJobs.Extensions.Kafka/Config/KafkaExtensionConfigProvider.cs
Show resolved
Hide resolved
I agree, but it wasn't clear to me how to write tests to exercise this... had quite a time when I tried. |
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.
Waiting on tests as discussed in conversation. Or open an issue to track tests separately if you want to push this through.
Add to sample function example of custom deserialisation Add to sample function binding to strings
…handlers to demonstrate
29a5bc6
to
ecbecf3
Compare
@ryancrawcour worked thru the test case adds w/ @fbeltrao & we're all good now. Added to e2es and passing. ⏲ |
@fbeltrao plz review & merge, thanks! |
Turns out task 3 of #44 doesn't require any additional work; we got it for free. Added samples demonstrating