Error handler strategy in Flink Kafka connector with json format

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error handler strategy in Flink Kafka connector with json format

sunfulin
hi , community, 
I am wondering if there is some config params with error handler strategy as [1] refers when defining a Kafka stream table using Flink SQL DDL. For example,  the following `json.parser.failure.strategy'  can be set to `silencly skip` that can skip the malformed dirty data process while consuming kafka records.

create table xxx (
 ... 
) with (
    'connector.type' = 'kafka',
    'format.type' = 'json',
    'json.parser.failure.strategy' = 'silencly skip'
)  


 

Reply | Threaded
Open this post in threaded view
|

Re: Error handler strategy in Flink Kafka connector with json format

Jingsong Li
Hi Sunfulin,

I think this is very important too. 
There is an issue to fix this[1]. Is that meet your requirement?


Best,
Jingsong Lee

On Mon, Mar 9, 2020 at 12:33 PM sunfulin <[hidden email]> wrote:
hi , community, 
I am wondering if there is some config params with error handler strategy as [1] refers when defining a Kafka stream table using Flink SQL DDL. For example,  the following `json.parser.failure.strategy'  can be set to `silencly skip` that can skip the malformed dirty data process while consuming kafka records.

create table xxx (
 ... 
) with (
    'connector.type' = 'kafka',
    'format.type' = 'json',
    'json.parser.failure.strategy' = 'silencly skip'
)  


 



--
Best, Jingsong Lee
Reply | Threaded
Open this post in threaded view
|

Re:Re: Error handler strategy in Flink Kafka connector with json format

sunfulin
yep. Glad to see the progress. 
Best



At 2020-03-09 12:44:05, "Jingsong Li" <[hidden email]> wrote:

Hi Sunfulin,

I think this is very important too. 
There is an issue to fix this[1]. Is that meet your requirement?


Best,
Jingsong Lee

On Mon, Mar 9, 2020 at 12:33 PM sunfulin <[hidden email]> wrote:
hi , community, 
I am wondering if there is some config params with error handler strategy as [1] refers when defining a Kafka stream table using Flink SQL DDL. For example,  the following `json.parser.failure.strategy'  can be set to `silencly skip` that can skip the malformed dirty data process while consuming kafka records.

create table xxx (
 ... 
) with (
    'connector.type' = 'kafka',
    'format.type' = 'json',
    'json.parser.failure.strategy' = 'silencly skip'
)  


 



--
Best, Jingsong Lee