Skip to content
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

Error message "com/google/gson/internal/LinkedTreeMap" when using Kafka sink with AVRO and Schema Registry #315

Open
vszyndler opened this issue Nov 6, 2024 · 1 comment
Labels

Comments

@vszyndler
Copy link

vszyndler commented Nov 6, 2024

Description

Streaming Integrator Tooling displays an error message "com/google/gson/internal/LinkedTreeMap" when trying to send events via Kafka transport in Avro format using confluent Schema Registry, as explained in the streaming Integrator documentation.

In the Event Simulator, Siddhi App Status is FAULTY.

WSO2_SI_Error_Kafka_Avro

If I try to start the App (using the Start button above), the following error message is displayed : "Error! Error while parsing Errors in Siddhi app.com/google/gson/internal/LinkedTreeMap"

Steps to Reproduce

@App:name("PublishKafkaInAvroFormatUsingSchemaRegistry")

@App:description('Send events via Kafka transport using Avro format')

define stream SweetProductionStream (name string, amount double);

@sink(type='kafka',
topic='kafka_result_topic',
bootstrap.servers='localhost:9092',
is.binary.message='true',
@map(type='avro',schema.registry='http://localhost:8081',schema.id='1'))
define stream LowProductionAlertStream (name string, amount double);

@info(name='EventsPassthroughQuery')
from SweetProductionStream
select *
insert into LowProductionAlertStream;

  • Save the file.

Affected Component

SI

Version

4.2.0

Environment Details (with versions)

OS : Windows 11
wso2si-tooling : 4.2.0
Web browser : Firefox 131.0.3 (64-bit)

Relevant Log Output

There is no relevant messages in the logs.

Related Issues

No response

Suggested Labels

No response

@AnuGayan AnuGayan transferred this issue from wso2/api-manager Nov 19, 2024
@crognon
Copy link

crognon commented Nov 25, 2024

Hello, is there any mean to know if the SI package will be usable again ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants