Mostafa Moradian

Results 223 comments of Mostafa Moradian

I'll close this ticket. Feel free to re-open it if you still have issues.

Hey @rodrigotheodoropsv, I understand what you mean. In the current version, the errors are raised as [exceptions](https://github.com/mostafa/xk6-kafka/blob/f66ef7b2ee145efbf8f0e74baaccd42be15ac98e/writer.go#L255), hence you need to use `try..catch` block to catch them. I hope it...

@rodrigotheodoropsv > Like, is it possible to get the metrics from kafka "Metric: k.metrics.WriterErrors" and "Metric: k.metrics.WriterMessages" in my JS script? If it is, so I just need to learn...

@rodrigotheodoropsv > I'm trying to imagine how I can use k6's checks to check if my produce writes the message or get some error, just to create my metrics in...

Hey @dgarcas, Can you give me an example of the scripts you use and the commandline options you pass to k6? Please remove any confidential info from it, I just...

@dgarcas I just recalled that if you specify a group id, you cannot specify the partition number, because it is automatically distributed between consumers of the group, which is also...

@plaums It is possible, and I'd be happy to have your contribution if you want to speed up the process. These are the things you should consider: 1. Changing the...

Hey @msrijita18, The [`SchemaRegistry`](https://github.com/mostafa/xk6-kafka/blob/main/api-docs/docs/classes/SchemaRegistry.md) object accepts a [`SchemaRegistryConfig`](https://github.com/mostafa/xk6-kafka/blob/main/api-docs/docs/interfaces/SchemaRegistryConfig.md) object, which also contains [TLSConfig](https://github.com/mostafa/xk6-kafka/blob/main/api-docs/docs/interfaces/TLSConfig.md) and there you can add your TLS information and certs.

@msrijita18 Also, [JKS](https://en.wikipedia.org/wiki/Java_KeyStore) format is not supported for key and certificate, as mentioned in [this ticket](https://github.com/mostafa/xk6-kafka/issues/83). As indicated in the variable names, `clientCertPem` and `clientKeyPem`, they require [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail)-formatted files. Also,...

@msrijita18 In your case, since you are using a self-signed certificate, you need to set `insecureSkipTlsVerify` to `true`.