-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yong.teng
committed
Feb 1, 2024
1 parent
1c62733
commit a14ae08
Showing
19 changed files
with
104 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,27 @@ | |
* | Author: Yong.Teng <[email protected]> | | ||
* | Copyright @ 2013-2023 Buession.com Inc. | | ||
* +-------------------------------------------------------------------------------------------------------+ | ||
*/package com.buession.canal.springboot;/** | ||
* | ||
*/ | ||
package com.buession.canal.springboot; | ||
|
||
import com.buession.canal.core.Configuration; | ||
|
||
import java.time.Duration; | ||
|
||
/** | ||
* 实例基本配置 | ||
* | ||
* @author Yong.Teng | ||
* @since 1.0.0 | ||
*/public class BaseInstanceConfiguration { | ||
*/ | ||
public abstract class BaseInstanceConfiguration extends Configuration { | ||
|
||
/** | ||
* 构造函数 | ||
*/ | ||
public BaseInstanceConfiguration() { | ||
setTimeout(Duration.ofSeconds(10)); | ||
setBatchSize(10); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,32 @@ | |
* | Author: Yong.Teng <[email protected]> | | ||
* | Copyright @ 2013-2023 Buession.com Inc. | | ||
* +-------------------------------------------------------------------------------------------------------+ | ||
*/package com.buession.canal.springboot;/** | ||
* | ||
*/ | ||
package com.buession.canal.springboot; | ||
|
||
/** | ||
* MQ 实例基本配置 | ||
* | ||
* @author Yong.Teng | ||
* @since 1.0.0 | ||
*/public class MqBaseInstanceConfiguration { | ||
*/ | ||
public abstract class MqBaseInstanceConfiguration extends BaseInstanceConfiguration { | ||
|
||
private boolean flatMessage; | ||
|
||
/** | ||
* 构造函数 | ||
*/ | ||
public MqBaseInstanceConfiguration() { | ||
super(); | ||
} | ||
|
||
public boolean isFlatMessage() { | ||
return flatMessage; | ||
} | ||
|
||
public void setFlatMessage(boolean flatMessage) { | ||
this.flatMessage = flatMessage; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.