DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Enable Streaming for DataPower

    Posted Mon February 19, 2024 07:31 AM

    Dear Community,

    Good day

    kindly note that we are implementing a new project which require data streaming , meanwhile , DataPower will be the API gateway for this project and my question is how to let DataPower handle this kind of request?

    our version is : IDG.2018.4.1.10

    Best Regards,



    ------------------------------
    Abdullah Al Masad
    ------------------------------


  • 2.  RE: Enable Streaming for DataPower

    Posted Tue February 20, 2024 01:22 AM

    Dear Masad,

    Can you elaborate on your specific use case? It is difficult to comment otherwise.



    ------------------------------
    Ajitabh Sharma
    ------------------------------



  • 3.  RE: Enable Streaming for DataPower

    Posted Tue February 20, 2024 04:31 AM

    I'm not sure about the details of your use-case?

    There may be others on this forum who are able to give you a better answer!

    In the meanwhile, perhaps a WebSocket front handler?

    Suggest you read this article as a starter:

    "WebSockets Part 1 - How to create a WebSocket Proxy in DataPower"
    https://chrisphillips-cminion.github.io/apiconnect/2019/07/15/WebSockets-pt1-datapower.html

    ... at least you will be better informed on the relevant technology!



    ------------------------------
    Steve Edwards
    Director
    Escala Ltd
    Southampton
    02380783802
    ------------------------------



  • 4.  RE: Enable Streaming for DataPower

    Posted Wed February 21, 2024 09:41 AM

    Hi Masad,
    In DP we do support "streaming" where steaming means that DP will send the first packet to the back end before receiving the last packet of the request.  Same for responses, DP will send the first packet before receiving the last.

    There is a strict requirement that your DP policy NOT touch the body.  If you touch the body then DP will transparently/invisibly flip to buffering mode.  In buffer mode DP waits to transmit the first packet until receiving 100% of the content.

    https://www.ibm.com/docs/en/datapower-gateway/10.5.x?topic=supplemental-streaming



    ------------------------------
    Ivan Heninger
    ------------------------------