-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change default exception handling for ksql timestamp extractors
- Loading branch information
Showing
23 changed files
with
915 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...p_extractor/5.5.0_1581572104400/spec.json → ...p_extractor/6.0.0_1583181389696/spec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
152 changes: 152 additions & 0 deletions
152
...mp-extractor_-_KSQL_default_timestamp_extractor_with_format/6.0.0_1583170254458/plan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
{ | ||
"plan" : [ { | ||
"@type" : "ksqlPlanV1", | ||
"statementText" : "CREATE STREAM TEST (ID BIGINT, TS STRING) WITH (KAFKA_TOPIC='test_topic', TIMESTAMP='ts', TIMESTAMP_FORMAT='yy-MM-dd HH:mm:ss', VALUE_FORMAT='JSON');", | ||
"ddlCommand" : { | ||
"@type" : "createStreamV1", | ||
"sourceName" : "TEST", | ||
"schema" : "`ROWKEY` STRING KEY, `ID` BIGINT, `TS` STRING", | ||
"keyField" : null, | ||
"timestampColumn" : { | ||
"column" : "TS", | ||
"format" : "yy-MM-dd HH:mm:ss" | ||
}, | ||
"topicName" : "test_topic", | ||
"formats" : { | ||
"keyFormat" : { | ||
"format" : "KAFKA", | ||
"properties" : { } | ||
}, | ||
"valueFormat" : { | ||
"format" : "JSON", | ||
"properties" : { } | ||
}, | ||
"options" : [ ] | ||
}, | ||
"windowInfo" : null | ||
}, | ||
"queryPlan" : null | ||
}, { | ||
"@type" : "ksqlPlanV1", | ||
"statementText" : "CREATE STREAM TS AS SELECT TEST.ID ID\nFROM TEST TEST\nEMIT CHANGES", | ||
"ddlCommand" : { | ||
"@type" : "createStreamV1", | ||
"sourceName" : "TS", | ||
"schema" : "`ROWKEY` STRING KEY, `ID` BIGINT", | ||
"keyField" : null, | ||
"timestampColumn" : null, | ||
"topicName" : "TS", | ||
"formats" : { | ||
"keyFormat" : { | ||
"format" : "KAFKA", | ||
"properties" : { } | ||
}, | ||
"valueFormat" : { | ||
"format" : "JSON", | ||
"properties" : { } | ||
}, | ||
"options" : [ ] | ||
}, | ||
"windowInfo" : null | ||
}, | ||
"queryPlan" : { | ||
"sources" : [ "TEST" ], | ||
"sink" : "TS", | ||
"physicalPlan" : { | ||
"@type" : "streamSinkV1", | ||
"properties" : { | ||
"queryContext" : "TS" | ||
}, | ||
"source" : { | ||
"@type" : "streamSelectV1", | ||
"properties" : { | ||
"queryContext" : "Project" | ||
}, | ||
"source" : { | ||
"@type" : "streamSourceV1", | ||
"properties" : { | ||
"queryContext" : "KsqlTopic/Source" | ||
}, | ||
"topicName" : "test_topic", | ||
"formats" : { | ||
"keyFormat" : { | ||
"format" : "KAFKA", | ||
"properties" : { } | ||
}, | ||
"valueFormat" : { | ||
"format" : "JSON", | ||
"properties" : { } | ||
}, | ||
"options" : [ ] | ||
}, | ||
"timestampColumn" : { | ||
"column" : "TS", | ||
"format" : "yy-MM-dd HH:mm:ss" | ||
}, | ||
"sourceSchema" : "`ROWKEY` STRING KEY, `ID` BIGINT, `TS` STRING" | ||
}, | ||
"selectExpressions" : [ "ID AS ID" ] | ||
}, | ||
"formats" : { | ||
"keyFormat" : { | ||
"format" : "KAFKA", | ||
"properties" : { } | ||
}, | ||
"valueFormat" : { | ||
"format" : "JSON", | ||
"properties" : { } | ||
}, | ||
"options" : [ ] | ||
}, | ||
"topicName" : "TS", | ||
"timestampColumn" : null | ||
}, | ||
"queryId" : "CSAS_TS_0" | ||
} | ||
} ], | ||
"configs" : { | ||
"ksql.extension.dir" : "ext", | ||
"ksql.streams.cache.max.bytes.buffering" : "0", | ||
"ksql.security.extension.class" : null, | ||
"ksql.transient.prefix" : "transient_", | ||
"ksql.persistence.wrap.single.values" : "true", | ||
"ksql.authorization.cache.expiry.time.secs" : "30", | ||
"ksql.schema.registry.url" : "", | ||
"ksql.streams.default.deserialization.exception.handler" : "io.confluent.ksql.errors.LogMetricAndContinueExceptionHandler", | ||
"ksql.output.topic.name.prefix" : "", | ||
"ksql.streams.auto.offset.reset" : "earliest", | ||
"ksql.query.pull.enable.standby.reads" : "false", | ||
"ksql.connect.url" : "http://localhost:8083", | ||
"ksql.service.id" : "some.ksql.service.id", | ||
"ksql.internal.topic.min.insync.replicas" : "1", | ||
"ksql.streams.shutdown.timeout.ms" : "300000", | ||
"ksql.new.api.enabled" : "false", | ||
"ksql.streams.state.dir" : "/var/folders/bz/qnz23q_j6v12b3b_tm9ztv700000gn/T/confluent8883205057413437130", | ||
"ksql.internal.topic.replicas" : "1", | ||
"ksql.insert.into.values.enabled" : "true", | ||
"ksql.query.pull.max.allowed.offset.lag" : "9223372036854775807", | ||
"ksql.streams.default.production.exception.handler" : "io.confluent.ksql.errors.ProductionExceptionHandlerUtil$LogAndFailProductionExceptionHandler", | ||
"ksql.access.validator.enable" : "auto", | ||
"ksql.streams.bootstrap.servers" : "localhost:0", | ||
"ksql.streams.commit.interval.ms" : "2000", | ||
"ksql.metric.reporters" : "", | ||
"ksql.streams.auto.commit.interval.ms" : "0", | ||
"ksql.metrics.extension" : null, | ||
"ksql.streams.topology.optimization" : "all", | ||
"ksql.query.pull.streamsstore.rebalancing.timeout.ms" : "10000", | ||
"ksql.hidden.topics" : "_confluent.*,__confluent.*,_schemas,__consumer_offsets,__transaction_state,connect-configs,connect-offsets,connect-status,connect-statuses", | ||
"ksql.streams.num.stream.threads" : "4", | ||
"ksql.timestamp.throw.on.invalid" : "false", | ||
"ksql.authorization.cache.max.entries" : "10000", | ||
"ksql.metrics.tags.custom" : "", | ||
"ksql.pull.queries.enable" : "true", | ||
"ksql.udfs.enabled" : "true", | ||
"ksql.udf.enable.security.manager" : "true", | ||
"ksql.connect.worker.config" : "", | ||
"ksql.sink.window.change.log.additional.retention" : "1000000", | ||
"ksql.readonly.topics" : "_confluent.*,__confluent.*,_schemas,__consumer_offsets,__transaction_state,connect-configs,connect-offsets,connect-status,connect-statuses", | ||
"ksql.udf.collect.metrics" : "false", | ||
"ksql.persistent.prefix" : "query_", | ||
"ksql.query.persistent.active.limit" : "2147483647" | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...mp-extractor_-_KSQL_default_timestamp_extractor_with_format/6.0.0_1583170254458/spec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version" : "6.0.0", | ||
"timestamp" : 1583170254458, | ||
"schemas" : { | ||
"CSAS_TS_0.KsqlTopic.Source" : "STRUCT<ID BIGINT, TS VARCHAR> NOT NULL", | ||
"CSAS_TS_0.TS" : "STRUCT<ID BIGINT> NOT NULL" | ||
}, | ||
"inputs" : [ { | ||
"topic" : "test_topic", | ||
"key" : "", | ||
"value" : { | ||
"ID" : 1, | ||
"TS" : "10-04-19 12:00:17" | ||
} | ||
}, { | ||
"topic" : "test_topic", | ||
"key" : "", | ||
"value" : { | ||
"ID" : 2, | ||
"TS" : "!!!!!!!!!!!!!!!!!" | ||
} | ||
}, { | ||
"topic" : "test_topic", | ||
"key" : "", | ||
"value" : { | ||
"ID" : 3, | ||
"TS" : "10-04-19 12:00:17" | ||
} | ||
} ], | ||
"outputs" : [ { | ||
"topic" : "TS", | ||
"key" : "", | ||
"value" : { | ||
"ID" : 1 | ||
}, | ||
"timestamp" : 1271703617000 | ||
}, { | ||
"topic" : "TS", | ||
"key" : "", | ||
"value" : { | ||
"ID" : 3 | ||
}, | ||
"timestamp" : 1271703617000 | ||
} ] | ||
} |
13 changes: 13 additions & 0 deletions
13
...amp-extractor_-_KSQL_default_timestamp_extractor_with_format/6.0.0_1583170254458/topology
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Topologies: | ||
Sub-topology: 0 | ||
Source: KSTREAM-SOURCE-0000000000 (topics: [test_topic]) | ||
--> KSTREAM-TRANSFORMVALUES-0000000001 | ||
Processor: KSTREAM-TRANSFORMVALUES-0000000001 (stores: []) | ||
--> Project | ||
<-- KSTREAM-SOURCE-0000000000 | ||
Processor: Project (stores: []) | ||
--> KSTREAM-SINK-0000000003 | ||
<-- KSTREAM-TRANSFORMVALUES-0000000001 | ||
Sink: KSTREAM-SINK-0000000003 (topic: TS) | ||
<-- Project | ||
|
Oops, something went wrong.