Reputation: 3596
We started to use KrakenD API Gateway, and we are trying to see how to do the following:
It looks almost what Martian allows (https://www.krakend.io/docs/backends/martian/), but instead of static configuration, it would read that data from Redis to enrich the request headers
Is it possible without forking KrakenD?
Upvotes: 1
Views: 1237
Reputation: 1440
For almost any scenario, it is not necessary to fork KrakenD. In this case, you would need to create your request modifier plugin: https://www.krakend.io/docs/extending/plugin-modifiers/
The plugin would take care of that Redis connection and enriching the request to the backend.
Upvotes: 0