Compare commits

..

6 Commits

Author SHA1 Message Date
TIP Automation User
0f9847b816 Chg: update image tag in helm values to v3.0.2-RC1 2024-03-22 12:32:18 +00:00
jaspreetsachdev
265f9d7a22 Merge pull request #56 from Telecominfraproject/main
WIFI-13542 Release merge
2024-03-22 08:22:32 -04:00
TIP Automation User
693989330b Chg: update image tag in helm values to v3.0.0 2023-12-29 15:19:39 +00:00
TIP Automation User
667d7d56e4 Chg: update image tag in helm values to v3.0.0-RC2 2023-12-15 23:03:36 +00:00
Stephane Bourque
9853cf087c Merge pull request #54 from Telecominfraproject/main
https://telecominfraproject.atlassian.net/browse/WIFI-13147
2023-12-15 09:33:52 -08:00
TIP Automation User
ff052a938c Chg: update image tag in helm values to v3.0.0-RC1 2023-11-27 17:38:30 +00:00
4 changed files with 5 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(owanalytics VERSION 3.2.0)
project(owanalytics VERSION 3.0.2)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_GENERATOR "Unix Makefiles")

2
build
View File

@@ -1 +1 @@
1
8

View File

@@ -9,7 +9,7 @@ fullnameOverride: ""
images:
owanalytics:
repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owanalytics
tag: v3.2.0
tag: v3.0.2-RC1
pullPolicy: Always
# regcred:
# registry: tip-tip-wlan-cloud-ucentral.jfrog.io

View File

@@ -107,16 +107,7 @@ namespace OpenWifi {
NewMessage.partition(0);
NewMessage.payload(Msg->Payload());
Producer.produce(NewMessage);
if (Queue_.size() < 100) {
// use flush when internal queue is lightly loaded, i.e. flush after each
// message
Producer.flush();
}
else {
// use poll when internal queue is loaded to allow messages to be sent in
// batches
Producer.poll((std::chrono::milliseconds) 0);
}
Producer.flush();
}
} catch (const cppkafka::HandleException &E) {
poco_warning(Logger_,
@@ -126,13 +117,8 @@ namespace OpenWifi {
} catch (...) {
poco_error(Logger_, "std::exception");
}
if (Queue_.size() == 0) {
// message queue is empty, flush all previously sent messages
Producer.flush();
}
Note = Queue_.waitDequeueNotification();
}
Producer.flush();
poco_information(Logger_, "Stopped...");
}
@@ -338,4 +324,4 @@ namespace OpenWifi {
partitions.front().get_partition()));
}
} // namespace OpenWifi
} // namespace OpenWifi