luchunliang opened a new issue, #4168:
URL: https://github.com/apache/incubator-inlong/issues/4168
### Description
CREATE TABLE `inlong_group`
(
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT
'Incremental primary key',
`inlong_group_id` varchar(256) NOT NULL COMMENT 'Inlong group id,
filled in by the user, undeleted ones cannot be repeated',
`name` varchar(128) DEFAULT '' COMMENT 'Inlong
group name, English, Chinese, numbers, etc',
`description` varchar(256) DEFAULT '' COMMENT 'Inlong
group Introduction',
`mq_type` varchar(20) DEFAULT 'TUBE' COMMENT 'The
message queue type, high throughput: TUBE, high consistency: PULSAR',
`mq_resource` varchar(128) NOT NULL COMMENT 'MQ resource, for
Tube, its Topic, for Pulsar, its Namespace',
`daily_records` int(11) DEFAULT '10' COMMENT 'Number
of access records per day, unit: 10,000 records per day',
`daily_storage` int(11) DEFAULT '10' COMMENT 'Access
size by day, unit: GB per day',
`peak_records` int(11) DEFAULT '1000' COMMENT
'Access peak per second, unit: records per second',
`max_length` int(11) DEFAULT '10240' COMMENT 'The
maximum length of a single piece of data, unit: Byte',
`in_charges` varchar(512) NOT NULL COMMENT 'Name of
responsible person, separated by commas',
`followers` varchar(512) DEFAULT NULL COMMENT 'Name of
followers, separated by commas',
`ext_params` text DEFAULT NULL COMMENT
'Extended params, will saved as JSON string, such as queue_module,
partition_num,',
`status` int(4) DEFAULT '100' COMMENT 'Inlong
group status',
`previous_status` int(4) DEFAULT '100' COMMENT
'Previous group status',
`is_deleted` int(11) DEFAULT '0' COMMENT 'Whether
to delete, 0: not deleted, > 0: deleted',
`creator` varchar(64) NOT NULL COMMENT 'Creator name',
`modifier` varchar(64) DEFAULT NULL COMMENT
'Modifier name',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP
COMMENT 'Create time',
`modify_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON
UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time',
`enable_create_resource` tinyint(2) DEFAULT '1' COMMENT 'Need
zookeeper support, 0: false, 1: true',
`enable_zookeeper` tinyint(2) DEFAULT '1' COMMENT 'Need
zookeeper support, 0: false, 1: true',
`inlong_cluster_tag` varchar(128) DEFAULT NULL COMMENT 'The
cluster tag, which links to inlong_cluster table',
PRIMARY KEY (`id`),
UNIQUE KEY `unique_inlong_group` (`inlong_group_id`, `is_deleted`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='Inlong group table';
### Use case
_No response_
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]