Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Doc ] I can't configure TLS vector to pulsar like vector to kafka #17294

Closed
1 task done
nguyenthanhlong98 opened this issue Aug 26, 2022 · 18 comments
Closed
1 task done

Comments

@nguyenthanhlong98
Copy link

nguyenthanhlong98 commented Aug 26, 2022

Search before asking

  • I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?

Vector TLS pulsar
I can't configure TLS vector to pulsar like vector to kafka
image
Vector to pulsar
image
Vector to kafka

Config vector kafka
image

@nguyenthanhlong98 nguyenthanhlong98 added the doc-required Your PR changes impact docs and you will update later. label Aug 26, 2022
@nodece
Copy link
Member

nodece commented Aug 26, 2022

See https://pulsar.apache.org/docs/next/security-tls-transport and https://pulsar.apache.org/docs/next/security-tls-keystore.

@nguyenthanhlong98
Copy link
Author

@nodece thank you but the problem I have is when configuring the TLS vector with pulsar it doesn't have the same TLS attribute as kafka

@nguyenthanhlong98
Copy link
Author

@nodece kafka example has config vector
tls
tls.ca_file
tls.crt_file
tls.key_file
tls.key_pass
and for vector to pulsar there is no this attribute to config

@nguyenthanhlong98 nguyenthanhlong98 changed the title I can't configure TLS vector to pulsar like vector to kafka [ Doc ] I can't configure TLS vector to pulsar like vector to kafka Aug 26, 2022
@nodece
Copy link
Member

nodece commented Aug 26, 2022

tls.ca_file -> tlsTrustCertsFilePath
tls.crt_file -> tlsCertificateFilePath
tls.key_file -> tlsKeyFilePath
tls.key_pass -> not supported

See https://pulsar.apache.org/docs/next/security-tls-transport#configure-broker

If you want to learn the authentication and authorization, see https://pulsar.apache.org/docs/next/security-extending

@nguyenthanhlong98
Copy link
Author

nguyenthanhlong98 commented Aug 29, 2022

@nodece Thank you, I tried config as you suggested but it still doesn't work as I want, but this config is only for pulsar client and broker of pulsar. I want config for vector and pulsar
https://vector.dev/docs/reference/configuration/sinks/pulsar/
Because in vector's doc there is no config tls for vector and pulsar so i don't know how to configure effectively
Thanks @nodece

@nodece
Copy link
Member

nodece commented Aug 29, 2022

Sorry, I don't know how to config the vector, but it looks like not supported the TLS.

@nguyenthanhlong98
Copy link
Author

@nodece, yes, there are vectors in the doc that don't support tls, but i hope there is a configuration that can replace tls for example
Thanks

@nodece
Copy link
Member

nodece commented Aug 31, 2022

I suggest you can make an issue to request help on the vector repo. If someone in the Pulsar community is willing to support it, that would be great.

@nodece nodece added help wanted and removed doc-required Your PR changes impact docs and you will update later. labels Sep 5, 2022
@nguyenthanhlong98
Copy link
Author

@nodece, Hi nodece, I am configuring python basic auth credentials but it does not support config so do you have a link or doc to help me solve this problem

@nodece
Copy link
Member

nodece commented Sep 6, 2022

The Pulsar Python client doesn't support basic authentication, I submitted #17482 to support that.

@nguyenthanhlong98
Copy link
Author

Ok, Thanks nodece, and the problem is still not solved

@nodece
Copy link
Member

nodece commented Sep 6, 2022

@nguyenthanhlong98 Sorry, should be Python client doesn't support basic authentication.

@nguyenthanhlong98
Copy link
Author

@nodece, Hi nodece don't know if vector supports pulsar with token have you done it, if yes, can you confirm it for me
https://vector.dev/docs/reference/configuration/sinks/pulsar/#auth.token
vector support pulsar token

@nodece
Copy link
Member

nodece commented Sep 6, 2022

vector looks support token authentication.

@nguyenthanhlong98
Copy link
Author

token and author basic just tokens and have you done this or you guessed it about using tokens with vectors

@nodece
Copy link
Member

nodece commented Sep 6, 2022

Guessed. The basic authentication and token authentication are different.

@github-actions
Copy link

github-actions bot commented Oct 8, 2022

The issue had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Oct 8, 2022
@tisonkun
Copy link
Member

Closed as answered.

If you have further issue, welcome to open a question at https://github.com/apache/pulsar/discussions/categories/q-a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants