Push response through Apigee

We plan to have a REST API exposed by Apigee Edge. The client-facing endpoints will be managed by Apigee. Another REST service will be hosted behind the Apigee. When the Apigee endpoint is invoked, we plan to store the request in Kafka so that it can be processed asynchronously. After the server has processed it, we intend to Push a message to the client application that made the request.

Is this a common practice?

Does Apigee have a feature to remember the client such as its websocket so that the notification can be pushed?

0 1 624
1 REPLY 1

Apigee Edge does not include special features to support callbacks in this way.

As long as the client has a publicly-reachable IP address, you can use Apigee Edge to connect to it. Using this approach, the sending ("pushing"? ) application would push to Apigee Edge, and in that inbound message should provide some indication as to the desired client - an IP Address or a client identifier, etc. Then Apigee Edge can proxy that to the client.