-
Notifications
You must be signed in to change notification settings - Fork 42
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
Failing to connect to Kafka #239
Comments
Thank you for collaborating with the project by giving us feedback!!' You will help us a lot if you can attach an example AVRO and an example Test Plan in order to be able to reproduce the error, if that is the case. Cheers |
Thank you for your collaboration, we will review it and the changes/progress that we are making will inform you here. |
Thanks @cmunozgomez. |
We are currently reviewing the issue. We'll inform you as soon as we get a solution. |
Hi @ShantiSumanth KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required username=(xxxx) password=(+dljlsjfl); }; |
Hi @pedror19, I've already included Kafka client auth in java request and added auth in a single line string but didn't work. Could you please look into this again. Thanks |
Hi @ShantiSumanth, We will review the problem again and you will be in formed as soon as we made some improvement. |
Hi again @ShantiSumanth, |
Hello @pedror19, |
Hello again @ShantiSumanth. |
Hi @ShantiSumanth , We've noticed that you are using the 3.5.3 version of KLoadGen, can you update and use the lastest version? We will continue searching for the problem, but it'd be great if you can update so we can be sure the problem is not because of an old version. |
Hi @ShantiSumanth, we were playing around a bit with Kafka Authentication, and notice you need to pass the absolute path in the java.security.auth.login.config property. It also works if you put the module configuration in a line like my colleague @pedror19 said, but, without the KafkaClient part, neither the '{'. Can you please try after update to the latest version (if possible)? |
Hi @ShantiSumanth,
|
Thanks @pedror19 @jgbriz @jemacineiras . Thanks |
Hi @ShantiSumanth, |
Thanks @pedror19. Ran script with latest version but still failing with same error(java.io exception and login module control flag not specified). @jgbriz , jaas.conf file is located in jmeter/bin folder so given config file name directly in the request. Adding file name in java request is throwing error " java.lang.IllegalArgumentException: Login module control flag not specified in JAAS config" giving authentication as a single string in the request is failing with exception, " java.io.IOException:org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="yourServiceName" username="(xxxxx)" password="(+dljlsjfl)"; (No such file or directory)". Thanks |
Hello @ShantiSumanth , |
Hello @ShantiSumanth , |
Hi @jgbriz, Thanks |
Hi @ShantiSumanth |
Hi @jgbriz,
Please let me know if further details required for investigating. Thanks |
Hi @ShantiSumanth , |
Hi @ShantiSumanth, please, can you provide the required files in order to reproduce the error? Cheers |
Hi @jemacineiras, |
Hi @ShantiSumanth, those files are a bit confusing. What you want to achieve? Cheers |
Hi @jemacineiras, Thanks |
Hi @ShantiSumanth, that is OK, but the json you send to us is not a valid |
Will speak to our Devs. Thanks @jemacineiras |
Hi @jemacineiras, Thanks for your support. Isn't the subject loaded on 'Value Schema Load Generator Config' type and structure reference? please correct me if I understood it wrongly. |
Hi @ShantiSumanth, that’s right, but I'm talking about the files you sent to us. We need more information about your test and the files in order to reproduce, unless you give us clearance to deal with your files in the confluent cloud. Cheers. |
Hi @jemacineiras, |
Hi @ShantiSumanth, We've made a solution to some problems we've detected processing the schema you provided us. Please, check the draft given in this issue, and try with that version. Cheers. |
Hi @jgbriz, Unable pull the draft version due to authentication issues. would you mind sharing the version/jar please? Thanks |
Hi @ShantiSumanth , |
Hi @ShantiSumanth , |
Hi @jgbriz, I've tried with draft and latest version of plugin but still throwing same error Also throwed an exception(Uncaught Exception org.apache.avro.SchemaParseException: No type: {"customerId":"0023422","correlationId":") whilst loading json file in Value scheme file load gen config Thanks |
Hi, @ShantiSumanth, we are not able to reproduce the errors you comment to us about the Security Exception. Guessing you already had checkout all the properties with your dev team? About the Schema Parse Exception... Why are you trying to parse a JSON into an AVO? Cheers |
Hi, @ShantiSumanth, have you tried what I said the last time? Any luck with your test? Cheers |
I'm going to close due to inactivity. If you have any question you can open a new Issue. |
Hi,
Trying to make a connection to Kafka and produce message(son) to a topic but failing to connect.
Whilst sending a message using JMeter below issues are seen
Kafka producer is closing with timeout=0ms
Login module control flag not specified in JAAS config.
Please find the login specified in jaas.conf
Have tried all the possible ways in defining the credentials in config file but didn't worked, would appreciate your help in sorting the issue?
Thanks
KloadGen Version
Kloadgen-3.5.3
Relevant log output
Have you added your JMX Testplan or a replica?
Have you added your Schema or a replica?
The text was updated successfully, but these errors were encountered: