mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Fix style
This commit is contained in:
parent
f2e4ec28cb
commit
65fc6fe8a3
@ -252,7 +252,8 @@ void KafkaConsumer2::updateOffsets(const TopicPartitions & topic_partitions)
|
|||||||
topic_partitions.begin(),
|
topic_partitions.begin(),
|
||||||
topic_partitions.end(),
|
topic_partitions.end(),
|
||||||
std::back_inserter(original_topic_partitions),
|
std::back_inserter(original_topic_partitions),
|
||||||
[](const TopicPartition & tp) {
|
[](const TopicPartition & tp)
|
||||||
|
{
|
||||||
return cppkafka::TopicPartition{tp.topic, tp.partition_id, tp.offset};
|
return cppkafka::TopicPartition{tp.topic, tp.partition_id, tp.offset};
|
||||||
});
|
});
|
||||||
initializeQueues(original_topic_partitions);
|
initializeQueues(original_topic_partitions);
|
||||||
|
@ -92,7 +92,6 @@ extern const int NOT_IMPLEMENTED;
|
|||||||
extern const int LOGICAL_ERROR;
|
extern const int LOGICAL_ERROR;
|
||||||
extern const int REPLICA_ALREADY_EXISTS;
|
extern const int REPLICA_ALREADY_EXISTS;
|
||||||
extern const int TABLE_IS_DROPPED;
|
extern const int TABLE_IS_DROPPED;
|
||||||
extern const int TABLE_WAS_NOT_DROPPED;
|
|
||||||
extern const int NO_ZOOKEEPER;
|
extern const int NO_ZOOKEEPER;
|
||||||
extern const int REPLICA_IS_ALREADY_ACTIVE;
|
extern const int REPLICA_IS_ALREADY_ACTIVE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user