flink-http-connector
flink-http-connector copied to clipboard
Feature Request: Support Raw String Option for HTTP Batch Mode
In some use cases, apis require batched data to be submitted as a raw string rather than wrapped in a JSON array.
Currently the only way to send batched raw data strings is to use the single request mode and create a pre aggregated roll up payload as a string before sinking. This operation is a bit obtuse.
https://github.com/getindata/flink-http-connector/blob/b95e7fbcffdd73e223fff56611ec945536a471d9/src/main/java/com/getindata/connectors/http/internal/sink/httpclient/BatchRequestSubmitter.java#L111-L122
Please consider adding this functionality in the near future.