diff options
author | 2019-12-19 11:30:21 +0800 | |
---|---|---|
committer | 2020-01-09 07:53:05 +0000 | |
commit | 101636b49968dab8a409861d48bcdc6e75df50ee (patch) | |
tree | 9666831ff36ebd33ca5dbed70982363f9a35da9f /components/datalake-handler/feeder/src/assembly | |
parent | 92e8f1cbcc012db160e8f681e14710cc52149b2a (diff) |
Modified resp topicConfig and add getTopicName()
Change-Id: I06db2663534c970b76244f462da66d2c72b11f12
Issue-ID: DCAEGEN2-1877
Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
Diffstat (limited to 'components/datalake-handler/feeder/src/assembly')
-rw-r--r-- | components/datalake-handler/feeder/src/assembly/scripts/init_db.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql b/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql index 8a914270..3f495e2d 100644 --- a/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql +++ b/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql @@ -2,7 +2,7 @@ * ============LICENSE_START=======================================================
* ONAP : DATALAKE
* ================================================================================
-* Copyright 2019 China Mobile
+* Copyright 2019-2020 China Mobile
*=================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -98,7 +98,7 @@ CREATE TABLE `kafka` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `topic` (
- `id` int(11) NOT NULL,
+ `id` int(11) NOT NULL AUTO_INCREMENT,
`aggregate_array_path` varchar(255) DEFAULT NULL,
`correlate_cleared_message` bit(1) NOT NULL DEFAULT b'0',
`data_format` varchar(255) DEFAULT NULL,
|