[log4j2-appender] Provide ways to configure Pulsar client and producer
lhotari opened this issue · 1 comments
lhotari commented
Is your feature request related to a problem? Please describe.
It should be possible to configure security properties for the Pulsar client used by Pulsar Log4j2 Appender since this is required when Pulsar security is enabled. Besides this, it would be useful to have the possibility to configure other Pulsar client and producer properties.
Describe the solution you'd like
Support the same properties as client.conf supports for configuring the client.
authPlugin
,authParams
,tlsAllowInsecureConnection
,tlsEnableHostnameVerification
,useKeyStoreTls
,tlsTrustStorePassword
,tlsTrustStorePath
,tlsTrustCertsFilePath
,tlsTrustStoreType
)
Beside this, support configuring other client and producer properties. On the producer side it is useful to be able to configure at least the maxPendingMessages
and blockIfQueueFull
settings.