-
Notifications
You must be signed in to change notification settings - Fork 99
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
Callback Service Call #106
Comments
Hello @guvense thanks for the idea, could you share a real use case for that purpouse, I understand what do you want to achive with this, but I'm not sure is a real problem to solve using mock server, so if you can explain a little bit more the use case would be great :D |
Hello @aperezg, in my case when the mock server gets a request, it should push the event to Kafka. Because I try to mock a service which put request to queue and process request in order. Therefore mock server returns a response after some time it should push the event to kafka. At the same time, my real application listens to kafka. Another case, some third-party application. notify the status of the request. It can be the status of a money transaction. I will give an endpoint to the mock server, after some delay mock server sends a request about the transaction. Therefore I can simulate it. We can also add sse service, pushing events to Kafka sending HTTP request anything in the callback field. |
We need that as well. |
When the mock server gets a request after a while sends a request to the given url. This feature might be useful for 3rd API service which works with send notifications. I prepared case:
when request get by mock server after given delay, it will send request to "http://localhost:8089/v1""
As mentioned I prepared codes then it works.
The text was updated successfully, but these errors were encountered: