Guest User

Untitled

a guest
Jul 6th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. tables:
  2. - name: TimestampTable
  3. type: source
  4. schema:
  5. - name: name
  6. type: ROW(firstname VARCHAR, lastname VARCHAR)
  7. - name: number
  8. type: INT
  9. - name: rowTime
  10. type: TIMESTAMP
  11. rowtime:
  12. timestamps:
  13. type: "from-field"
  14. from: "event_time"
  15. watermarks:
  16. type: "from-source"
  17. connector:
  18. property-version: 1
  19. type: kafka
  20. version: 0.11
  21. topic: test_flink_state_check
  22. startup-mode: earliest-offset
  23. properties:
  24. - key: zookeeper.connect
  25. value: zookeeper01.prod.xxxxxx.com:2181
  26. - key: bootstrap.servers
  27. value: kafka01.prod.xxxxxx.com:9092
  28. - key: group.id
  29. value: test_flink_sql_03
  30. format:
  31. property-version: 1
  32. type: json
  33. schema: "ROW(name ROW(firstname VARCHAR, lastname VARCHAR), number INT, event_time TIMESTAMP)"
  34.  
  35. execution:
  36. # 'batch' or 'streaming' execution
  37. type: streaming
  38. # allow 'event-time' or only 'processing-time' in sources
  39. time-characteristic: event-time
  40. # 'changelog' or 'table' presentation of results
  41. result-mode: table
  42. # parallelism of the program
  43. parallelism: 1
  44. # maximum parallelism
  45. max-parallelism: 128
  46. # minimum idle state retention in ms
  47. min-idle-state-retention: 0
  48. # maximum idle state retention in ms
  49. max-idle-state-retention: 0
  50.  
  51. deployment:
  52. # general cluster communication timeout in ms
  53. response-timeout: 5000
  54. # (optional) address from cluster to gateway
  55. gateway-address: ""
  56. # (optional) port from cluster to gateway
  57. gateway-port: 0
Add Comment
Please, Sign In to add comment