Open
Description
Description
Investigate and resolve the streaming issue in the Protocol Server, where streaming responses (e.g., from /on_search
, /on_select
) are not being received correctly or are causing delayed/incomplete delivery. This issue may impact real-time user experience and downstream integration with BAP/BPP implementations.
Goals
- Identify the specific endpoint(s) and use cases affected by the streaming problem
- Review and debug the streaming logic implemented in the Protocol Server (e.g., use of chunked encoding, event-based response handling)
- Check for performance bottlenecks or misconfigurations in buffer handling, response headers, or event listeners
- Test with multiple BPPs to reproduce the issue
- Provide temporary fix if needed (fallback to non-streamed response)
- Implement permanent fix and validate in staging
Expected Outcome
Protocol Server consistently delivers streaming responses as expected across all endpoints and clients, with no delays, truncation, or connection issues.
Acceptance Criteria
- Root cause of streaming issue is identified
- Fix is applied and verified through functional and performance testing
- Responses are properly streamed with valid formatting and headers
- Issue does not recur across different payloads and use cases
Mockups / Wireframes
NA
Product Name
Beckn
Domain
Protocol Server
Tech Skills Needed
Node.js, HTTP Streaming, Event Emitters, API Performance Debugging
Complexity
Medium to High
Category
Bug Fix / Performance
Sub Category
Streaming API Debugging