3535 **/
3636
3737#include < map>
38- #include < REMUS /Utils.hxx>
39- #include < REMUS /Logger.hxx>
38+ #include < Common /Utils.hxx>
39+ #include < Common /Logger.hxx>
4040
41- namespace REMUS {
41+ namespace Common {
4242
4343/* !
4444 * \class Constants
@@ -199,15 +199,15 @@ inline void Constants::setProducerKafkaStatsInterval(){
199199 int milis;
200200 try
201201 {
202- if (!REMUS ::Utils::convertToInt (REMUS ::Constants::GetProducerConfig ().at (REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS), milis))
202+ if (!Common ::Utils::convertToInt (Common ::Constants::GetProducerConfig ().at (Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS), milis))
203203 {
204- milis = REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
204+ milis = Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
205205 }
206206 }
207207 catch (std::exception& e)
208208 {
209- REMUS ::Logger::globalWarning (__PRETTY_FUNCTION__," Constants ProducerConfig does not have " , REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS);
210- milis = REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
209+ Common ::Logger::globalWarning (__PRETTY_FUNCTION__," Constants ProducerConfig does not have " , Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS);
210+ milis = Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
211211 }
212212 PRODUCER_KAFKA_STATS_INTERVAL = milis;
213213}
@@ -220,15 +220,15 @@ inline void Constants::setConsumerKafkaStatsInterval(){
220220 int milis;
221221 try
222222 {
223- if (!REMUS ::Utils::convertToInt (REMUS ::Constants::GetConsumerConfig ().at (REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS), milis))
223+ if (!Common ::Utils::convertToInt (Common ::Constants::GetConsumerConfig ().at (Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS), milis))
224224 {
225- milis = REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
225+ milis = Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
226226 }
227227 }
228228 catch (std::exception& e)
229229 {
230- REMUS ::Logger::globalWarning (__PRETTY_FUNCTION__," Constants ConsumerConfig does not have " , REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS);
231- milis = REMUS ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
230+ Common ::Logger::globalWarning (__PRETTY_FUNCTION__," Constants ConsumerConfig does not have " , Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS);
231+ milis = Common ::Constants::CONFIG_STATISTICS_INTERVAL_MS_DEFAULT; // DEFAULT
232232 }
233233 CONSUMER_KAFKA_STATS_INTERVAL = milis;
234234}
0 commit comments