You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/01/27 12:19:27 UTC

[GitHub] [incubator-seatunnel] asdf2014 opened a new issue #1178: [Feature][Connectors] Support specifying timestamp column and format in Druid Flink sink plugin

asdf2014 opened a new issue #1178:
URL: https://github.com/apache/incubator-seatunnel/issues/1178


   ### Search before asking
   
   - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
   
   
   ### Description
   
   # Sink plugin: Druid
   
   ## Description
   
   Write data to Apache Druid.
   
   ## Options
   
   | name             | type     | required | default value |
   | ---------------- | -------- | -------- | ------------- |
   | coordinator_url  | `String` | yes      | -             |
   | datasource       | `String` | yes      | -             |
   | timestamp_column | `String` | no       | timestamp     |
   | timestamp_format | `String` | no       | auto          |
   
   ### coordinator_url [`String`]
   
   The URL of Coordinator service in Apache Druid.
   
   ### datasource [`String`]
   
   The DataSource name in Apache Druid.
   
   ### timestamp_column [`String`]
   
   The timestamp column name in Apache Druid, the default value is `timestamp`.
   
   ### timestamp_format [`String`]
   
   The timestamp format in Apache Druid, the default value is `auto`, it could be:
   
   - `iso`
     - ISO8601 with 'T' separator, like "2000-01-01T01:02:03.456"
   
   - `posix`
     - seconds since epoch
   
   - `millis`
     - milliseconds since epoch
   
   - `micro`
     - microseconds since epoch
   
   - `nano`
     - nanoseconds since epoch
   
   - `auto`
     - automatically detects ISO (either 'T' or space separator) or millis format
   
   - any [Joda DateTimeFormat](http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html) string
   
   ## Example
   
   ### Simple
   
   ```hocon
   DruidSink {
     coordinator_url = "http://localhost:8081/"
     datasource = "wikipedia"
   }
   ```
   
   ### Specified timestamp column and format
   
   ```hocon
   DruidSink {
     coordinator_url = "http://localhost:8081/"
     datasource = "wikipedia"
     timestamp_column = "timestamp"
     timestamp_format = "auto"
   }
   ```
   
   
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] CalvinKirs closed issue #1178: [Feature][Connectors] Support specifying timestamp column and format in Druid Flink sink plugin

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #1178:
URL: https://github.com/apache/incubator-seatunnel/issues/1178


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org