Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

[BUG] schema incompatible while use PulsarPrimitiveSchema(String.class) to consume pulsar topic #493

Open
KevinyhZou opened this issue Dec 30, 2021 · 0 comments
Labels

Comments

@KevinyhZou
Copy link
Contributor

Describe the bug
I use FlinkPulsarSource consume a pulsar topic, the code as below

FlinkPulsarSource<String> flinkPulsarSource =
                new FlinkPulsarSource<String>(
                        serviceUrl,
                        adminUrl,
                        new PulsarPrimitiveSchema(String.class),
                        properties).setStartFromSubscription(groupid_antisdk, MessageId.latest);

while submit the job to flink cluster, the exception throws as blow
image

To Reproduce
do it as the description above.

Expected behavior
the flink job run normally, and the data can deserialize to string by this schema.

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

No branches or pull requests

1 participant