You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, i develop a load test with xk6-kafka that use an Avro Schema with references.
When i try to use a schema with references, i have an error/exception.
The stacktrace of the error is present at the end of this message.
Kafka Scenario
For better understand our load test, I will explain our use case of Kafka.
We use Kafka Connect and MongoDB Source Kafka Connector to retrieve data from Mongo collections for insert them in Kafka.
We use this connector for multiple collections, so we have multiple Avro schemas that use MongoDb record schemas from this connector.
For avoid to duplicate this elements of MongoDB schemas, when i create an Avro schema, I reference this Avro schemas instead of include them in my schema.
We use Apicurio Schema Registry with the "Confluent Compatibility" for that works with xk6-kafka.
If i use a full schema without references my script work.
K6 script
My k6 script is as follows.
I use the method "getSchema" with property "references" for retrieve my schema.
Hi,
Currently, i develop a load test with xk6-kafka that use an Avro Schema with references.
When i try to use a schema with references, i have an error/exception.
The stacktrace of the error is present at the end of this message.
Kafka Scenario
For better understand our load test, I will explain our use case of Kafka.
We use Kafka Connect and MongoDB Source Kafka Connector to retrieve data from Mongo collections for insert them in Kafka.
We use this connector for multiple collections, so we have multiple Avro schemas that use MongoDb record schemas from this connector.
For avoid to duplicate this elements of MongoDB schemas, when i create an Avro schema, I reference this Avro schemas instead of include them in my schema.
Avro schema of my principal entity
Exemple of reference schema
com.mongodb.kafka.connect.source.Ns
We use Apicurio Schema Registry with the "Confluent Compatibility" for that works with xk6-kafka.
If i use a full schema without references my script work.
K6 script
My k6 script is as follows.
I use the method "getSchema" with property "references" for retrieve my schema.
Stacktrace of the error
Have you got an idea of the origin of the error ?
Is that scenario work with xk6-kafka ?
The text was updated successfully, but these errors were encountered: