Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kafka-sink support #32

Open
lingya opened this issue Nov 19, 2018 · 3 comments
Open

kafka-sink support #32

lingya opened this issue Nov 19, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@lingya
Copy link
Collaborator

lingya commented Nov 19, 2018

No description provided.

@lingya lingya mentioned this issue Nov 19, 2018
@harbby harbby added the enhancement New feature or request label Nov 20, 2018
@lingya
Copy link
Collaborator Author

lingya commented Dec 7, 2018

Kafka09 :
create OUTPUT table topic(
messages varchar
) with (
type = 'kafka09',
kafka_topic = 'T1',
msg_format='json', //messages send format
partitionKey ='eventtime',
"zookeeper.connect" = 'zk:2181'
);

@harbby Is this syntax okay?

@harbby
Copy link
Owner

harbby commented Dec 9, 2018

Hi @lingya , Thank you very much for your contribution, your design is very good, I have made some expansions.

create OUTPUT table topic(
    event_time long, --Can not(高版本kafka 允许设置该时间)
    partition long,   --Can not(可以没有) 
    key varchar,    -- Can not(可以没有)
    message varchar  -- or binary
) with (
       type = 'kafka09',
       kafka_topic = 'T1',
       kafka_brokes = 'localhost:9092'
       zookeeper_connect" = 'zk:2181'
);

@lingya
Copy link
Collaborator Author

lingya commented Dec 9, 2018

It‘s my pleasure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants