-
Notifications
You must be signed in to change notification settings - Fork 305
Description
Is your feature request related to a problem? Please describe.
To have better performance the bot service would like to enable the per-conversation affinity when routing the requests to the bot serivice instance. The routing gateway would not look at the payload of the request to figure out the conversation id, to have better perf, we would like to have the conversation id in HTTP header.
Describe the solution you'd like
the skill related requets don't have the conversation id in the header now. It includes two scenarios
- Skill callback request (skill -> bot)
- bot as skill (parent bots -> skill)
We'd like the BF SDK could update the SDK to always include the conversation id in the header in those requests.
Describe alternatives you've considered
We prefer all the channels and skills are use the same way to specifiy the conversation id in the header.
Another alternative is to extract conversation id from the request URL, it will add the complexity to the gateway or parse the URL and there is no standard on how to extract conversation id from URL. And it may not work for the scenario of bot as skill.