acelyc111 commented on code in PR #1914:
URL: 
https://github.com/apache/incubator-pegasus/pull/1914#discussion_r1498969590


##########
src/zookeeper/zookeeper_session.cpp:
##########
@@ -24,35 +24,44 @@
  * THE SOFTWARE.
  */
 
+#include <sasl/sasl.h>
 #include <stdlib.h>
 #include <zookeeper/zookeeper.h>
 #include <algorithm>
 #include <utility>
 
 #include "runtime/app_model.h"
 #include "runtime/rpc/rpc_address.h"
+#include "utils/filesystem.h"
 #include "utils/flags.h"
 #include "utils/fmt_logging.h"
+#include "utils/strings.h"
 #include "zookeeper/proto.h"
 #include "zookeeper/zookeeper.jute.h"
 #include "zookeeper_session.h"
 
-DSN_DECLARE_bool(enable_zookeeper_kerberos);
-DSN_DEFINE_string(security,
-                  zookeeper_kerberos_service_name,
-                  "zookeeper",
-                  "zookeeper kerberos service name");
-DSN_DEFINE_string(security,
-                  zookeeper_sasl_service_fqdn,
-                  "",
-                  "The FQDN of a Zookeeper server, used in Kerberos 
Principal");
 // TODO(yingchun): to keep compatibility, the global name is FLAGS_timeout_ms. 
The name is not very
 //  suitable, maybe improve the macro to us another global name.
 DSN_DEFINE_int32(zookeeper,
                  timeout_ms,
                  30000,
                  "The timeout of accessing ZooKeeper, in milliseconds");
 DSN_DEFINE_string(zookeeper, hosts_list, "", "Zookeeper hosts list");
+DSN_DEFINE_string(zookeeper, sasl_service_name, "zookeeper", "");
+DSN_DEFINE_string(zookeeper,
+                  sasl_service_fqdn,

Review Comment:
   Please describe the changes in commit description first, then when new 
version released, we can reference it or copied it directly.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to