Skip to content

Commit

Permalink
[OMON-406] Increase Kafka consumer batch size to 100 (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Feb 13, 2023
1 parent 83ddef5 commit 0d4d2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif()

# Define project
project(Monitoring
VERSION 3.15.0
VERSION 3.15.2
DESCRIPTION "O2 Monitoring library"
LANGUAGES CXX
)
Expand Down
2 changes: 1 addition & 1 deletion src/Transports/KafkaConsumer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ KafkaConsumer::KafkaConsumer(const std::string& url, const std::vector<std::stri
std::vector<std::pair<std::string, std::string>> KafkaConsumer::pull()
{
std::vector<std::pair<std::string, std::string>> received;
size_t batch_size = 10;
size_t batch_size = 100;
int remaining_timeout = 1000;
auto start = std::chrono::high_resolution_clock::now();

Expand Down

0 comments on commit 0d4d2d2

Please sign in to comment.