Skip to content

Commit 0d4d2d2

Browse files
authored
[OMON-406] Increase Kafka consumer batch size to 100 (#314)
1 parent 83ddef5 commit 0d4d2d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif()
3131

3232
# Define project
3333
project(Monitoring
34-
VERSION 3.15.0
34+
VERSION 3.15.2
3535
DESCRIPTION "O2 Monitoring library"
3636
LANGUAGES CXX
3737
)

src/Transports/KafkaConsumer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ KafkaConsumer::KafkaConsumer(const std::string& url, const std::vector<std::stri
5454
std::vector<std::pair<std::string, std::string>> KafkaConsumer::pull()
5555
{
5656
std::vector<std::pair<std::string, std::string>> received;
57-
size_t batch_size = 10;
57+
size_t batch_size = 100;
5858
int remaining_timeout = 1000;
5959
auto start = std::chrono::high_resolution_clock::now();
6060

0 commit comments

Comments
 (0)