Description
Hello,
How do we use event streams? I can send data to webhook and everything works as expected. Now I am trying to test event stream and not sure how to send data there.
I see that ALB has two rule - one for EDA UI and one for EDA event stream.. Both listen to the same host header though... My public_base_url is set to https://test.test.local/. This is the URL that we use to access UI and API.
UI is accessible - no issues. API access - no issues.
I replaced webhook with event stream... Webhook listened on port 5000 and was exposed to outside via Ingress port 443. Now, when I replace webhook with event stream... Where do I send data to with curl? I tried URL provided by event stream - no luck (event stream uses basic auth). All i get back it Error 405 Not Allowed.
My event stream URL looks like that:
Curl:
curl -H 'Content-Type: application/json' -d "{\"message\": \"Run test\"}" https://test.test.local/eda-event-streams/api/eda/v1/external_event_stream/b2df3e1c-f35e-9056-8774-8783c22be0c9/post/ -k -u user:password