1
0

stream2selectdb.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "core": {
  3. "transport": {
  4. "channel": {
  5. "speed": {
  6. "byte": 10485760
  7. }
  8. }
  9. }
  10. },
  11. "job": {
  12. "content": [
  13. {
  14. "reader": {},
  15. "writer": {
  16. "name": "selectdbwriter",
  17. "parameter": {
  18. "loadUrl": [
  19. "xxx:35871"
  20. ],
  21. "loadProps": {
  22. "file.type": "json",
  23. "file.strip_outer_array": "true"
  24. },
  25. "database": "db1",
  26. "column": [
  27. "k1",
  28. "k2",
  29. "k3",
  30. "k4",
  31. "k5"
  32. ],
  33. "username": "admin",
  34. "password": "SelectDB2022",
  35. "postSql": [],
  36. "preSql": [],
  37. "connection": [
  38. {
  39. "jdbcUrl": "jdbc:mysql://xxx:32386/cl_test",
  40. "table": [
  41. "test_selectdb"
  42. ],
  43. "selectedDatabase": "cl_test"
  44. }
  45. ],
  46. "maxBatchRows": 200000,
  47. "batchSize": 53687091200
  48. }
  49. }
  50. }
  51. ],
  52. "setting": {
  53. "errorLimit": {
  54. "percentage": 0.02,
  55. "record": 0
  56. },
  57. "speed": {
  58. "byte": 10485760
  59. }
  60. }
  61. }
  62. }