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

[api-draft][connector] apache pulsar source #1984

Merged
merged 5 commits into from
Jun 17, 2022

Conversation

ashulin
Copy link
Member

@ashulin ashulin commented Jun 5, 2022

Purpose of this pull request

apache pulsar source

Check list

@Hisoka-X
Copy link
Member

Hisoka-X commented Jun 7, 2022

Please add license to LICENSE file in seatunnel-dist

@Hisoka-X
Copy link
Member

Hisoka-X commented Jun 7, 2022

Also add pulsar connector into pom.xml in seatunnel-connector-seatunnel-dist

@ashulin
Copy link
Member Author

ashulin commented Jun 7, 2022

@benjfan I have added the licenses.

Copy link
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashulin
Copy link
Member Author

ashulin commented Jun 9, 2022

@CalvinKirs Do I need to add any licenses or notices?

@ashulin ashulin force-pushed the api-draft branch 2 times, most recently from f8bc938 to 71560d9 Compare June 15, 2022 02:43
# Conflicts:
#	seatunnel-connectors/seatunnel-connectors-seatunnel/pom.xml
# Conflicts:
#	seatunnel-connectors/seatunnel-connectors-seatunnel-dist/pom.xml
@wachoo
Copy link
Contributor

wachoo commented Nov 27, 2023

I run this command with the jar "connector-pulsar-2.3.3.jar"

./bin/seatunnel.sh --config ./config/v2.streaming.pulsar2console.template -e local

image

the connection to admin and client is ok, but it can not consume the messages .

the connection configuration below like this:

env {
    "job.mode"=STREAMING
    "job.name"="seatunnel_schema2console_test"
}
source {
    Pulsar {
        "subscription.name"="seatunnel_schema2console_test.sub"
        "cursor.startup.mode"=LATEST
        "cursor.reset.mode"=null
        "cursor.stop.mode"=NEVER
        "topic-discovery.interval"=-1
        "poll.timeout"=100
        "poll.interval"=50
        "poll.batch.size"=500
        parallelism=1
        "result_table_name"=Table11621381770080
        topic="persistent://public/default/seatunnel.schema.test"
        schema {
            fields {
                id=string
            }
        }
        operationTimeoutMs="30000"
        useTls="false"
        connectionMaxIdleSeconds="30000"
        useTcpNoDelay="true"
        "client.service-url"="pulsar://xxx.xxx.xxx.xxx:6650"
        "admin.service-url"="http://xxx.xxx.xxx.xxx:8080"
        topic-pattern="false"
        lookupTimeoutMs="30000"
        tlsHostnameVerificationEnable="true"
    }
}
transform {
}
sink {
    Console {
    }
}

is there some demo for pulsar?

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

Successfully merging this pull request may close these issues.

None yet

4 participants