You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESP-117 adding tls and mTLS support for Http Connector (#25)
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* 1ESP-117_mTLS_support - Adding mTLS support for Http Source and Sink
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
* ESP-117 changes after code review. Update CHANGELOG.md
Co-authored-by: Andrzej Swatowski <33041023+swtwsk@users.noreply.github.com>
* 1ESP-117_mTLS_support - Changes after code review.
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
Signed-off-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
Co-authored-by: Krzysztof Chmielewski <krzysztof.chmielewski@getindata.com>
Co-authored-by: Andrzej Swatowski <33041023+swtwsk@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
## [Unreleased]
4
4
5
+
### Added
6
+
7
+
- Add TLS and mTLS support for Http Sink and Lookup Source connectors.
8
+
New properties are:
9
+
-`gid.connector.http.security.cert.server` - path to server's certificate.
10
+
-`gid.connector.http.security.cert.client` - path to connector's certificate.
11
+
-`gid.connector.http.security.key.client` - path to connector's private key.
12
+
-`gid.connector.http.security.cert.server.allowSelfSigned` - allowing for self signed certificates without adding them to KeyStore (not recommended for a production).
| connector | required | The Value should be set to _rest-lookup_|
220
-
| format | required | Flink's format name that should be used to decode REST response, Use `json` for a typical REST endpoint. |
221
-
| url | required | The base URL that should be use for GET requests. For example _http://localhost:8080/client_|
222
-
| asyncPolling | optional | true/false - determines whether Async Pooling should be used. Mechanism is based on Flink's Async I/O. |
223
-
| gid.connector.http.lookup.error.code | optional | List of HTTP status codes that should be treated as errors by HTTP Source, separated with comma. |
224
-
| gid.connector.http.lookup.error.code.exclude | optional | List of HTTP status codes that should be excluded from the `gid.connector.http.lookup.error.code` list, separated with comma. |
| connector | required | The Value should be set to _rest-lookup_|
239
+
| format | required | Flink's format name that should be used to decode REST response, Use `json` for a typical REST endpoint. |
240
+
| url | required | The base URL that should be use for GET requests. For example _http://localhost:8080/client_|
241
+
| asyncPolling | optional | true/false - determines whether Async Pooling should be used. Mechanism is based on Flink's Async I/O. |
242
+
| gid.connector.http.lookup.error.code | optional | List of HTTP status codes that should be treated as errors by HTTP Source, separated with comma. |
243
+
| gid.connector.http.lookup.error.code.exclude | optional | List of HTTP status codes that should be excluded from the `gid.connector.http.lookup.error.code` list, separated with comma. |
244
+
| gid.connector.http.security.cert.server | optional | Path to trusted HTTP server certificate that should be add to connectors key store. More than one path can be specified using `,` as path delimiter. |
245
+
| gid.connector.http.security.cert.client | optional | Path to trusted certificate that should be used by connector's HTTP client for mTLS communication. |
246
+
| gid.connector.http.security.key.client | optional | Path to trusted private key that should be used by connector's HTTP client for mTLS communication. |
| connector | required | Specify what connector to use. For HTTP Sink it should be set to _'http-sink'_. |
230
-
| url | required | The base URL that should be use for HTTP requests. For example _http://localhost:8080/client_.|
231
-
| format | required | Specify what format to use. |
232
-
| insert-method | optional | Specify which HTTP method to use in the request. The value should be set either to `POST` or `PUT`. |
233
-
| sink.batch.max-size | optional | Maximum number of elements that may be passed in a batch to be written downstream. |
234
-
| sink.requests.max-inflight | optional | The maximum number of in flight requests that may exist, if any more in flight requests need to be initiated once the maximum has been reached, then it will be blocked until some have completed. |
235
-
| sink.requests.max-buffered | optional | Maximum number of buffered records before applying backpressure. |
236
-
| sink.flush-buffer.size | optional | The maximum size of a batch of entries that may be sent to the HTTP endpoint measured in bytes. |
237
-
| sink.flush-buffer.timeout | optional | Threshold time in milliseconds for an element to be in a buffer before being flushed. |
238
-
| gid.connector.http.sink.request-callback | optional | Specify which `HttpPostRequestCallback` implementation to use. By default, it is set to `slf4j-logger` corresponding to `Slf4jHttpPostRequestCallback`. |
239
-
| gid.connector.http.sink.error.code | optional | List of HTTP status codes that should be treated as errors by HTTP Sink, separated with comma. |
240
-
| gid.connector.http.sink.error.code.exclude | optional | List of HTTP status codes that should be excluded from the `gid.connector.http.sink.error.code` list, separated with comma. |
| connector | required | Specify what connector to use. For HTTP Sink it should be set to _'http-sink'_. |
253
+
| url | required | The base URL that should be use for HTTP requests. For example _http://localhost:8080/client_.|
254
+
| format | required | Specify what format to use. |
255
+
| insert-method | optional | Specify which HTTP method to use in the request. The value should be set either to `POST` or `PUT`. |
256
+
| sink.batch.max-size | optional | Maximum number of elements that may be passed in a batch to be written downstream. |
257
+
| sink.requests.max-inflight | optional | The maximum number of in flight requests that may exist, if any more in flight requests need to be initiated once the maximum has been reached, then it will be blocked until some have completed. |
258
+
| sink.requests.max-buffered | optional | Maximum number of buffered records before applying backpressure. |
259
+
| sink.flush-buffer.size | optional | The maximum size of a batch of entries that may be sent to the HTTP endpoint measured in bytes. |
260
+
| sink.flush-buffer.timeout | optional | Threshold time in milliseconds for an element to be in a buffer before being flushed. |
261
+
| gid.connector.http.sink.request-callback | optional | Specify which `HttpPostRequestCallback` implementation to use. By default, it is set to `slf4j-logger` corresponding to `Slf4jHttpPostRequestCallback`. |
262
+
| gid.connector.http.sink.error.code | optional | List of HTTP status codes that should be treated as errors by HTTP Sink, separated with comma. |
263
+
| gid.connector.http.sink.error.code.exclude | optional | List of HTTP status codes that should be excluded from the `gid.connector.http.sink.error.code` list, separated with comma. |
264
+
| gid.connector.http.security.cert.server | optional | Path to trusted HTTP server certificate that should be add to connectors key store. More than one path can be specified using `,` as path delimiter. |
265
+
| gid.connector.http.security.cert.client | optional | Path to trusted certificate that should be used by connector's HTTP client for mTLS communication. |
266
+
| gid.connector.http.security.key.client | optional | Path to trusted private key that should be used by connector's HTTP client for mTLS communication. |
0 commit comments