[GitHub] [pulsar] saosir commented on issue #6022: flink pulsar producer can not connect to cluster when enable Token Authentication

2020-01-14 Thread GitBox
saosir commented on issue #6022: flink pulsar producer can not connect to 
cluster when enable Token Authentication
URL: https://github.com/apache/pulsar/issues/6022#issuecomment-574470646
 
 
   I wrote source and sink based on the puslar flink connector in our project, 
but that is not very general. I hope to participate in the code development of 
pulsar in the next time.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] saosir commented on issue #6022: flink pulsar producer can not connect to cluster when enable Token Authentication

2020-01-14 Thread GitBox
saosir commented on issue #6022: flink pulsar producer can not connect to 
cluster when enable Token Authentication
URL: https://github.com/apache/pulsar/issues/6022#issuecomment-574114013
 
 
   @sijie It works
   But I think this way is not clear , because some people does not know the 
class `org.apache.pulsar.client.impl.auth.AuthenticationToken` exist


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] saosir commented on issue #6022: flink pulsar producer can not connect to cluster when enable Token Authentication

2020-01-09 Thread GitBox
saosir commented on issue #6022: flink pulsar producer can not connect to 
cluster when enable Token Authentication
URL: https://github.com/apache/pulsar/issues/6022#issuecomment-572856133
 
 
   It is related with flink connector
   
   In obove example set client auth token with
   
   ```
clientConfigurationData.setAuthentication(AuthenticationFactory.token("eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtZW5zaGVuIn0.w7nsT2GDGmHPd8DchqUDQH27xQ84xJp5dGKaOMsC7oU"));
   
   ```
   
   but when flink job startup with obove example, the 
`clientConfigurationData.authentication` auto change to `AuthenticationDisabled`


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services