2019-04-19 02:17:39 UTC - Rajan Dhabalia: @Matteo Merli @Sijie Guo
do you know how can we configure authentication at DistributedLog 
(`org.apache.distributedlog.api.namespace.Namespace`) so, it can pass 
auth-credentials to bookie.. I don't see such thing at : 
<https://github.com/apache/bookkeeper/blob/master/stream/distributedlog/core/src/main/java/org/apache/distributedlog/DistributedLogConfiguration.java>

for example, bk-client has below configuration for authentication 
..`setClientAuthProviderFactoryClass()` and param using `setProperty(..)

Can we use same auth-provider for both bk-client and  dbLog?
----
2019-04-19 02:19:30 UTC - Sijie Guo: @Rajan Dhabalia You can pass 
`bkc.&lt;bk-setting&gt;` to DistributedLogConfiguration. These settings will 
then be reflected in BK client configuration.
----
2019-04-19 02:20:09 UTC - Rajan Dhabalia: I see.. cool.. thanks
----
2019-04-19 02:22:07 UTC - Rajan Dhabalia: and what is the equivalent to 
`bkConf.setProperty(key,value)`
----
2019-04-19 02:24:26 UTC - Sijie Guo: I think it is the same.
----
2019-04-19 02:24:52 UTC - Sijie Guo: DistributedLogConfiguration inherits from 
commons configuration, which is similar to BK ClientConfiguraiton
----
2019-04-19 02:24:57 UTC - Rajan Dhabalia: for `bkConf.setProperty(key,value)` , 
should we pass `bkc.key` in dbLog-config?
----
2019-04-19 02:25:53 UTC - Sijie Guo: for example if BK Client Configuration has 
a setting ‘readTimeout’, then you can call 
dlogConf.setProperty(“bkc.readTimeout”, 100)
----
2019-04-19 02:26:02 UTC - Rajan Dhabalia: ok
----
2019-04-19 02:26:06 UTC - Rajan Dhabalia: got it..
----
2019-04-19 02:26:15 UTC - Rajan Dhabalia: let me try.. thanks.. appreciate :+1:
----
2019-04-19 02:26:20 UTC - Sijie Guo: no problem :slightly_smiling_face:
----

Reply via email to