mysql2mysql.json.template 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "job": {
  3. "content": [
  4. {
  5. "reader": {
  6. "name": "mysqlreader",
  7. "parameter": {
  8. "connection": [
  9. {
  10. "jdbcUrl": ["${jdbcReader}"],
  11. "querySql": ["${querySql}"]
  12. }
  13. ],
  14. "password": "${passwordReader}",
  15. "username": "${usernameReader}"
  16. }
  17. },
  18. "writer": {
  19. "name": "mysqlwriter",
  20. "parameter": {
  21. "column": ["*"],
  22. "connection": [
  23. {
  24. "jdbcUrl": "${jdbcWriter}",
  25. "table": ["${table}"]
  26. }
  27. ],
  28. "password": "${passwordWriter}",
  29. "session": [],
  30. "username": "${usernameWriter}",
  31. "writeMode": "insert"
  32. }
  33. }
  34. }
  35. ],
  36. "setting": {
  37. "speed": {
  38. "channel": "${channel}"
  39. }
  40. }
  41. }
  42. }