]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: register pubsub sync module
authorYehuda Sadeh <yehuda@redhat.com>
Sat, 30 Jun 2018 23:36:09 +0000 (16:36 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 11 Dec 2018 08:10:42 +0000 (00:10 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_sync_module.cc

index 196f98541e94a3e4d5d96db955a87c0ec169064a..9de0d333f0b38ccddf6fc56042a7cae635352946 100644 (file)
@@ -7,6 +7,7 @@
 #include "rgw_sync_module_log.h"
 #include "rgw_sync_module_es.h"
 #include "rgw_sync_module_aws.h"
+#include "rgw_sync_module_pubsub.h"
 
 #include <boost/asio/yield.hpp>
 
@@ -67,4 +68,7 @@ void rgw_register_sync_modules(RGWSyncModulesManager *modules_manager)
 
   RGWSyncModuleRef aws_module(std::make_shared<RGWAWSSyncModule>());
   modules_manager->register_module("cloud", aws_module);
+
+  RGWSyncModuleRef pubsub_module(std::make_shared<RGWPSSyncModule>());
+  modules_manager->register_module("pubsub", pubsub_module);
 }