mysql2doris.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "job": {
  3. "content": [
  4. {
  5. "reader": {
  6. "name": "mysqlreader",
  7. "parameter": {
  8. "column": ["k1", "k2", "k3"],
  9. "connection": [
  10. {
  11. "jdbcUrl": ["jdbc:mysql://192.168.10.10:3306/db1"],
  12. "table": ["t1"]
  13. }
  14. ],
  15. "username": "root",
  16. "password": "",
  17. "where": ""
  18. }
  19. },
  20. "writer": {
  21. "name": "doriswriter",
  22. "parameter": {
  23. "loadUrl": ["192.168.1.1:8030"],
  24. "loadProps": {},
  25. "database": "db1",
  26. "column": ["k1", "k2", "k3"],
  27. "username": "root",
  28. "password": "",
  29. "postSql": [],
  30. "preSql": [],
  31. "connection": [
  32. {
  33. "jdbcUrl":"jdbc:mysql://192.168.1.1:9030/",
  34. "table":["xxx"],
  35. "selectedDatabase":"xxxx"
  36. }
  37. ]
  38. }
  39. }
  40. }
  41. ],
  42. "setting": {
  43. "speed": {
  44. "channel": "1"
  45. }
  46. }
  47. }
  48. }