parameter.go 610 B

1234567891011121314151617181920212223242526272829
  1. package datahub
  2. type CreateTopicParameter struct {
  3. ShardCount int
  4. LifeCycle int
  5. Comment string
  6. RecordType RecordType
  7. RecordSchema *RecordSchema
  8. ExpandMode ExpandMode
  9. }
  10. type UpdateTopicParameter struct {
  11. LifeCycle int
  12. Comment string
  13. }
  14. type CreateConnectorParameter struct {
  15. SinkStartTime int64
  16. ConnectorType ConnectorType
  17. ColumnFields []string
  18. ColumnNameMap map[string]string
  19. Config interface{}
  20. }
  21. type UpdateConnectorParameter struct {
  22. ColumnFields []string
  23. ColumnNameMap map[string]string
  24. Config interface{}
  25. }