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

Add a id_str field to Twitter related Kamelets for the generated CloudEvents #925

Open
rhuss opened this issue May 13, 2022 · 0 comments
Open

Comments

@rhuss
Copy link
Contributor

rhuss commented May 13, 2022

Since Twitter IDs as unsigned 64-bit integer values that cannot be handled fully by JavaScript, the exposed id field as integer can not be sealed with JavaScript. Twitter has a id_str field in its REST API, however Twitter4J does not add this field to its response.

Also, since Twitter4J seems to refuse to add this field, it would be great if Camel could re-add it to its components. I will create an issue in the Camel JIRA for this, but for now, a quick fix for kamelets would be to add the long value as a string with key "id_str" in the kamelets, too, until the component update bubbles up.

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

No branches or pull requests

1 participant