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
Setting cache topic replication factor #139
Comments
Hi |
@rayokota I am getting the above error, I have tried the above link too. Checked the above link too, but it takes about all the parameters...it does not talk about which one to use to connect to sasl ssl...Pls help |
hi @rayokota
We get below error : ...... Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TopicAuthorizationException: Authorization failed. Note :
The called method's class, org.apache.kafka.clients.admin.DescribeTopicsResult, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
io.kcache.exceptions.CacheInitializationException: Failed trying to create or validate topic |
@bharathr9889 did you configure the SASL/JAAS properties correctly? For me, it worked by using the following properties:
|
We were using below configuration :
|
@bharathr9889 , it looks like you are using Confluent Cloud. Are you passing a valid API key as the username and a valid API secret as the password in the |
I want to have the cache topic to be replicated. I have set props.put(KafkaCacheConfig.KAFKACACHE_TOPIC_REPLICATION_FACTOR_CONFIG, 3). In logs it says Creating the topic cache-test using a replication factor of 1, which is less than the desired one of 3.
The text was updated successfully, but these errors were encountered: