Closed EvanParish closed 1 year ago
Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @EvanParish @justaskdavidb2 @k-macmillan @kalbfled @ldraney @nikolai-efimov
Open question: Where would this POC code go?
Does anyone know if we'll be using a schema registry to share AVRO schemas or will it be part of the incoming message?
@nikolai-efimov BIP is using the confluent.io schema registry for the topic (they own the topic). Since we aren't producing anything, we won't need to register any schemas. So, their producer is already sending events to the topic that are serialized with the Avros schema, we just need to de-serialize it. We also do not have access to confluent.io.
@cris-oddball , we need the schema to deserialize the message. It can either be shared via a registry or it comes in as a header in a message. There are nuances in handling messages depending on which approach is used.
@nikolai-efimov I hear you. They provided that schema to us, so I believe we can use it to de-serialize. I will try to get an example event off the topic for you to see if it comes in as a header.
@EvanParish @mjones-oddball @tabinda-syed I'm pretty much done with the app and need help with two things to wrap this up:
@cris-oddball , I've tested things with the schema you provided (thank you for that!), it all works well. Serialization and deserialization are tested. As is it makes it a hardcoded schema for now, however, Kafka provides ways of receiving updated versions of schema either via a registry or in the message.
@EvanParish , @cris-oddball , I got the following reply from Thomas in slack. "Hey Nikolai. It's not just you guys. Every External Tenant I've been working with is seeing the same Error. I have already requested help in resolving the issue. We're cautioning against updating the Group ID setting until we've had a chance to look into this more, but in the mean time for verification the group that we have listed for VA Notify is "vanotify-dev".
User Story - Business Need
User Story(ies)
As a VA Notify Engineer I want to know more about how a Kafka streams app works
So that we can build our integration when we are ready.
Additional Info and Resources
Check Jacob's notes on a simple Kafka streaming app.
There are various python packages available for reading events from a Kafka stream. We should look into each and decide on the best approach. The following are the ones currently being maintained.
Engineering Checklist
Required
Note: This test app should be written outside of the repo somewhere. If you check Jacob's notes above, you can see some example code to get you started. He was running this code in the dev-test-instance EC2.
Acceptance Criteria
Required
QA Considerations
For QA to populate. Leave blank if QA is not applicable on this ticket.
Potential Dependencies
Leave blank if n/a
Out of Scope
Leave blank if n/a