rdbms-example.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "job": {
  3. "setting": {
  4. "speed": {
  5. "channel": 3
  6. },
  7. "errorLimit": {
  8. "record": 0,
  9. "percentage": 0.02
  10. }
  11. },
  12. "content": [
  13. {
  14. "reader": {
  15. "name": "mysqlreader",
  16. "parameter": {
  17. "username": "aJKK2B8UuyIho5zzrGAgeA==",
  18. "password": "aJKK2B8UuyIho5zzrGAgeA==",
  19. "connection": [
  20. {
  21. "querySql": [
  22. "select id, app_name, title, address_type from job_group_copy1"
  23. ],
  24. "jdbcUrl": ["jdbc:mysql://192.168.199.107:10086/datax_web"]
  25. }
  26. ]
  27. }
  28. },
  29. "writer": {
  30. "name": "mysqlwriter",
  31. "parameter": {
  32. "username": "aJKK2B8UuyIho5zzrGAgeA==",
  33. "password": "aJKK2B8UuyIho5zzrGAgeA==",
  34. "column": ["id", "app_name", "title", "address_type"],
  35. "preSql": ["delete from job_group_copy2"],
  36. "connection": [
  37. {
  38. "table": ["job_group_copy2"],
  39. "jdbcUrl": "jdbc:mysql://192.168.199.107:10086/datax_web"
  40. }
  41. ]
  42. }
  43. }
  44. }
  45. ]
  46. }
  47. }