Comments (5)
Thank you for collaborating with the project by giving us feedback! In case it applies, it would be helpful if you could attach an example AVRO and an example test plan for us to reproduce the error. Cheers!
from kloadgen.
Please, can you try with the property java.security.auth.login.config
? It can directly take the value:
KafkaClient {
org.apache.kafka.common.security.scram.ScramLoginModule required username="{username}" password="{password}";
};
or even a path to the config file containing this information.
from kloadgen.
@amondacaSN I have tried this mechanism, but the issue is that I still get no logs. I chose "ALL," and I cannot see if the producer sends any requests to Kafka.
- Does it mean that there is no HTTP request ever sent? Do you think it should be sent?
- How do I know that connection is established correctly?
- What steps can I try to make it work/debug further?
from kloadgen.
@ChameleonTartu if you do not see any error log lines, probably this means that the HTTP request has been sent succesfully, because error level logs are active by default.
However, if you want to debug something related to KafkaProducer more depth, then you should config KafkaProducer logger in trace level. This can be done by adding this line to the Jmeter log4j2 config file (located in the bin jmeter directory):
<Logger name="org.apache.kafka.clients.producer" level="trace" />
With this configuration you will see new tace lines related to the KafkaProducer and Sender in the Log Viewer window like this:
TRACE o.a.k.c.p.KafkaProducer: [Producer clientId=] Waking up the sender since topic test_topic partition 0 is either full or getting a new batch
TRACE o.a.k.c.p.i.Sender: [Producer clientId=] Nodes with data ready to send: [localhost:29092 (id: 1001 rack: null)]
TRACE o.a.k.c.p.i.Sender: [Producer clientId=] Sent produce request to 1001: (type=ProduceRequest, acks=1, timeout=30000, partitionRecords=([PartitionProduceData(index=0, records=MemoryRecords(size=127, buffer=java.nio.HeapByteBuffer[pos=0 lim=127 cap=127]))]), transactionalId=''
TRACE o.a.k.c.p.i.Sender: [Producer clientId=] Received produce response from node 1001 with correlation id 3
TRACE o.a.k.c.p.i.ProducerBatch: Successfully produced messages to test_topic-0 with base offset 2.
from kloadgen.
@ChameleonTartu have you tried this solution? Do you need anything else from this issue?
from kloadgen.
Related Issues (20)
- [New Feature]: Integrate AsyncApi files
- [Issue]: BUILD FAILURE HOT 5
- Having trouble establishing Kafka connection through Blazemeter HOT 2
- [Issue]: Error with Schema File Serializer / Deserializer HOT 5
- [Issue]: Trouble with using Apicurio Schema Registry + Confluent SerDes HOT 21
- [Documentation]Add Info in Producer Configuration About Random Keys HOT 1
- [Issue]: Schema Registry URL in Consumer HOT 4
- [Issue]: Avro schemas with references HOT 6
- [Documentation Issue]: Postman collection to import HOT 1
- [Issue]: Error when all fields are optional in AVRO
- [Issue]: Error with JMeter 5.6.2 in connection with plugin kloadgen 5.6.5 HOT 18
- [Issue]: Complete the funcionality of "Value Schema File Serializer" HOT 1
- [Issue]: Can't load an Avro schema serializer from register.
- [Issue]: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target HOT 4
- [Issue]: NullPointerException when starting a test with a Key Schema File Serializer Config HOT 1
- [Issue]: JSON value shema serializer exception HOT 1
- [Issue]: Simple Key Config serializer exception HOT 1
- [Issue]: Error while processing sampler: 'Kafka Broker'. java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "registry" is null HOT 10
- [Issue]: Consumer does not show consumed messages in JMeter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kloadgen.