Skip to content

Conversation

@morningman
Copy link
Contributor

  1. Add batch submit interface
  2. Add Kafka Event callback to catch Kafka events

1. Add batch submit interface
2. Add Kafka Event callback to catch kafka events
status.to_thrift(&t_status);
TStatus& t_status, const std::vector<TRoutineLoadTask>& tasks) {

for (auto& task : tasks) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tasks may be successful submitted, and some may be fail.
Is this OK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First, it is very unlikely to submit failed. And just make is simple here. Let FE handle the error now.(may be timeout).
It will be changed later if this is a big deal.

if (t_info.__isset.max_interval_s) {
max_interval_s = t_info.max_interval_s;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you drop this empty line?

I think this is harmful to read code.

If there is no complex logic block, please don't add empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will put it to one line

@morningman morningman merged commit 709869c into apache:kafka_routine_load Mar 4, 2019
morningman added a commit to morningman/doris that referenced this pull request Mar 25, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
morningman added a commit that referenced this pull request Mar 25, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
morningman added a commit to morningman/doris that referenced this pull request Apr 4, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
morningman added a commit that referenced this pull request Apr 4, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
morningman added a commit that referenced this pull request Apr 19, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
EmmyMiao87 pushed a commit to EmmyMiao87/incubator-doris that referenced this pull request Apr 23, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
morningman added a commit that referenced this pull request Apr 24, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
imay pushed a commit that referenced this pull request Apr 28, 2019
1. Add batch submit interface
2. Add Kafka Event callback to catch Kafka events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants