getindata / flink-http-connector

Http Connector for Apache Flink. Provides sources and sinks for Datastream , Table and SQL APIs.
Apache License 2.0
136 stars 39 forks source link

HTTP-78 Support for optional query parameters for body-based requests #79

Closed OlivierZembri closed 3 months ago

OlivierZembri commented 3 months ago

Support for optional query parameters for body-based requests

Description

As documented, the connector currently create a lookup query from the HTTP TableLookup Source to build either:

There is no way to change this behaviour with custom factories.

Modification:

With these changes, any custom implementation of this interface that aims to provide body-based request is able to provide the lookup query as the payload and an optional formatted string representing the query parameters.

Resolves #78

PR Checklist