Skip to content

Conversation

@BryanFauble
Copy link
Owner

Problem:

  1. The logic that was in place could send the initial subscription to the kit broker, however, after that the connection would die since no additional messages were queued up to be sent.
  2. I did not have logic in place to listen for messages from the broker

Solution:

  1. Implement the GRPC python client code for their AsyncIO implementation.
  2. Hard coding in some testing values in this code that will be extracted out to dynamic configuration.
  3. Adding in pre-commit and tidy up the code a tiny bit.
  4. Create a request handler in python that takes in a MatchedEvent coming from the broker, generated a response Event, and sends that back to the broker.

Testing:

  1. I tested a full round trip with this logic: cURL -> httpsrv -> broker -> python code -> broker -> httpsrv -> terminal/cURL

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants