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
Copy file name to clipboardExpand all lines: README.md
+48-2Lines changed: 48 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,8 @@ CREATE TABLE http (
66
66
id bigint,
67
67
some_field string
68
68
) WITH (
69
-
'connector' = 'http-sink'
70
-
'url' = 'http://example.com/myendpoint'
69
+
'connector' = 'http-sink',
70
+
'url' = 'http://example.com/myendpoint',
71
71
'format' = 'json'
72
72
)
73
73
```
@@ -82,6 +82,52 @@ Due to the fact that `HttpSink` sends bytes inside HTTP request's body, one can
82
82
83
83
Other examples of usage of the Table API can be found in [some tests](src/test/java/com/getindata/connectors/http/table/HttpDynamicSinkInsertTest.java).
84
84
85
+
#### Http headers (currently supported only for HTTP Sink)
86
+
It is possible to set HTTP headers that will be added to HTTP request send by sink connector.
87
+
Headers are defined via property key `gid.connector.http.sink.header.HEADER_NAME = header value` for example:
0 commit comments