apache / apache/pulsar

Twitter Source Working and Documentation

Open
#14,934 4 comments 0 reactions 0 assignees View on GitHub
lifecycle/stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

**Describe the bug**
Twitter source never retrieves messages. Perhaps change in twitter api.

Also documentation is missing two key values

e: https://github.com/apache/pulsar/blob/master/pulsar-io/twitter/src/main/java/org/apache/pulsar/io/twitter/TwitterFireHoseConfig.java
@FieldDoc(
required = false,
defaultValue = "",
help = "A comma separated list of user IDs, indicating the users to return statuses for in the stream."
)
private String followings;
@FieldDoc(
required = false,
defaultValue = "",
help = "Keywords to track. Phrases of keywords are specified by a comma-separated list."
)
private String terms;

[TwitterFireHoseConfig.java](https://github.com/apache/pulsar/blob/master/pulsar-io/twitter/src/main/java/org/apache/pulsar/io/twitter/TwitterFireHoseConfig.java)

**To Reproduce**

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with pulsar-io/twitter/src/main/java/org/apache/pulsar/io/twitter/TwitterFireHoseConfig.java and inspect how the Twitter source uses its configuration. Verify why the source no longer retrieves messages, then ensure the documentation includes the followings and terms values shown in that file. Done means the source behavior is understood or corrected and both configuration values are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.