daiwei233 edited a comment on issue #7314: URL: https://github.com/apache/pulsar/issues/7314#issuecomment-1048597712
I think the official document is wrong, I found the correct configuration, and it works. ``` # Whether to enable the broker client authentication used by function workers to talk to brokers brokerClientAuthenticationEnabled: true # the authentication plugin to be used by the pulsar client used in worker service brokerClientAuthenticationPlugin: org.apache.pulsar.client.impl.auth.AuthenticationToken # the authentication parameter to be used by the pulsar client used in worker service brokerClientAuthenticationParameters: token:eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.F6t5Cge93JOIFodRkj0v7Y77ludnXlDPiqc4ZocUSzEbRXlG7xwiqnrN5-noiLz0hDgQBgSM-zINjJLFzg-_C_XiTP7AbyJ54vGiMO8F51WdiYHjguHvyXzIhnqqOva_M4yA7zi-zgbLIsK7dvATYCUKXUQ0XybwMKK50-vV08oNJeHVuV5XN1--lJt1ZQJd2jDCCybe7FOs4CEVWKRgNWwTRo_GN5ckHC1yr5SeHGIhKnuWZinx-v4yLdJrzFmw9fccfv22PEwrUcT2paElMPM8V0y5EZjwO3BodZk9PlDWULdv_DiMaFhghAYuanhorSgHXmyrvLzqR6r5hNehUQ ``` https://pulsar.apache.org/docs/en/functions-worker/#function-metadata-parameter  -- 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]
