Comments (4)
hi, when you use api to submit job, the config shoule be json format. can you provide the json config you posted, thx.
from seatunnel.
hi, when you use api to submit job, the config shoule be json format. can you provide the json config you posted, thx.
@ liunaijie thanks.
I've submitted it as json.
{
"env": {
"parallelism": 4,
"job.mode": "batch",
"checkpoint.interval": 10000
},
"source": [{
"jdbc": {
"url": "jdbc:oracle:thin:@...:1521:orcl",
"driver": "oracle.jdbc.OracleDriver",
"connection_check_timeout_sec": 100,
"user": "xtgg",
"password": "xtgg",
"query": "select * from user",
"partition_column": "id",
"split.size": 10000
}
}],
"sink": [{
"jdbc": {
"url": "jdbc:postgresql://...:5432/testDb",
"driver": "org.postgresql.Driver",
"user": "test",
"password": "test",
"generate_sink_sql": true,
"database": "testDb",
"table": "public.user",
"schema_save_mode": "CREATE_SCHEMA_WHEN_NOT_EXIST",
"data_save_mode": "APPEND_DATA",
"primary_keys": "id"
}
}]
}
from seatunnel.
@sandyustc the config format is not correct, please refer https://seatunnel.apache.org/docs/2.3.4/seatunnel-engine/rest-api#submit-job.
if you use api, the config is not like
source {
jdbc
}
it should be
source [{
"plugin_name" : "jdbc"
}]
You can update the config and retry.
from seatunnel.
@sandyustc the config format is not correct, please refer https://seatunnel.apache.org/docs/2.3.4/seatunnel-engine/rest-api#submit-job. if you use api, the config is not like
source { jdbc }
it should be
source [{ "plugin_name" : "jdbc" }]
You can update the config and retry.
@liunaijie
I'll try it , It is running Ok ,thanks!
from seatunnel.
Related Issues (20)
- [Bug] [StarRocks] Unable to create a sink for identifier 'StarRocks'. HOT 2
- [Metrics] [Kafka Source] the source recived count maybe not correct when MessageFormatErrorHandleWay = true
- [Feature][TiDB] When will TiDB connector(source and sink) be supported?
- [Typo]in exmple HOT 2
- [Bug] [seatunnel] kill -9 cannot stop the task being executed by SeatunnelServer HOT 1
- Failed creating database DWD_LY in catalog Dameng HOT 4
- Failed creating database DWD_LY in catalog Dameng HOT 2
- Failed creating database DWD_LY in catalog Dameng HOT 2
- [Feature][Module Name] Will iceberg sink connector support multi tables?
- [Bug] [mysql cdc] MySQL process cannot be released HOT 3
- [Bug] [HdfsFile] HdfsFile sink connector will throw "SIMPLE authentication is not enabled" HOT 3
- [Feature][Core] Table level monitoring
- [Feature][e2e] support run mutiple job onetime
- [Bug] Can not find catalog table with factoryId [Postgres] HOT 5
- transform generates a uuid from a postgresql function and updates the ID field value in the database table HOT 2
- [REST-API][ZETA] Returns checkpointing statistics for a job.
- [Feature][Mysql] Does seatunnel-2.3.4 support incremental synchronization through auto-increment ID, timestamp, version number, etc., instead of the binlog method?
- [Bug] [oracle-cdc] from oracle ļ¼11gļ¼ to starrocks : Generate Splits for table xxxx error HOT 1
- MYSQL-CDC Generate Splits for table database.tablename error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seatunnel.