mysql2mysql.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "job": {
  3. "content": [
  4. {
  5. "reader": {
  6. "name": "mysqlreader",
  7. "parameter": {
  8. "connection": [
  9. {
  10. "jdbcUrl": ["jdbc:mysql://192.168.2.2:3306/gene"],
  11. "querySql": ["select * from gene.test"]
  12. }
  13. ],
  14. "password": "iict12345",
  15. "username": "root"
  16. }
  17. },
  18. "writer": {
  19. "name": "mysqlwriter",
  20. "parameter": {
  21. "column": ["*"],
  22. "connection": [
  23. {
  24. "jdbcUrl": "jdbc:mysql://192.168.2.2:3306/gene",
  25. "table": ["xxx"]
  26. }
  27. ],
  28. "password": "iict123456",
  29. "session": [],
  30. "username": "root",
  31. "writeMode": "insert"
  32. }
  33. }
  34. }
  35. ],
  36. "setting": {
  37. "speed": {
  38. "channel": "2"
  39. }
  40. }
  41. }
  42. }