Skip to content

Commit

Permalink
Merge pull request #5 from buession/1.0.x
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
eduosi authored May 6, 2024
2 parents e693b7f + 8eb60ed commit e1dcd40
Show file tree
Hide file tree
Showing 26 changed files with 2,055 additions and 16 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
===========================


## [1.0.0](https://github.com/buession/buession-canal/releases/tag/v1.0.0) (2024-05-06)

### 🔨依赖升级

- [依赖库版本升级和安全漏洞修复](https://github.com/buession/buession-parent/releases/tag/v2.3.3)


### ⭐ 新特性

- **buession-canal-springboot:** 增加 canal 的 spring boot 支持


---


## [0.0.2](https://github.com/buession/buession-canal/releases/tag/v0.0.2) (2023-12-27)

### 🔨依赖升级
Expand Down
2 changes: 1 addition & 1 deletion buession-canal-annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<relativePath>../buession-canal-parent</relativePath>
<version>0.0.2</version>
<version>1.0.0</version>
</parent>
<artifactId>buession-canal-annotation</artifactId>
<url>https://canal.buession.com/</url>
Expand Down
2 changes: 1 addition & 1 deletion buession-canal-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<relativePath>../buession-canal-parent</relativePath>
<version>0.0.2</version>
<version>1.0.0</version>
</parent>
<artifactId>buession-canal-client</artifactId>
<url>https://canal.buession.com/</url>
Expand Down
2 changes: 1 addition & 1 deletion buession-canal-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<relativePath>../buession-canal-parent</relativePath>
<version>0.0.2</version>
<version>1.0.0</version>
</parent>
<artifactId>buession-canal-core</artifactId>
<url>https://canal.buession.com/</url>
Expand Down
17 changes: 5 additions & 12 deletions buession-canal-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<groupId>com.buession</groupId>
<artifactId>parent</artifactId>
<relativePath/>
<version>2.3.2</version>
<version>2.3.3</version>
</parent>
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<url>https://canal.buession.com/</url>
<description>Buession Canal Framework Parent</description>
<version>0.0.2</version>
<version>1.0.0</version>
<packaging>pom</packaging>

<organization>
Expand Down Expand Up @@ -58,10 +58,12 @@
<module>../buession-canal-core</module>
<module>../buession-canal-client</module>
<module>../buession-canal-spring</module>
<module>../buession-canal-springboot</module>
</modules>

<properties>
<buession.version>2.3.2</buession.version>
<buession.version>2.3.3</buession.version>
<buession.springboot.version>2.3.3</buession.springboot.version>
<alibaba.canal.version>1.1.7</alibaba.canal.version>
</properties>

Expand Down Expand Up @@ -112,15 +114,6 @@

<build>
<finalName>buession-canal-parent</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion buession-canal-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<relativePath>../buession-canal-parent</relativePath>
<version>0.0.2</version>
<version>1.0.0</version>
</parent>
<artifactId>buession-canal-spring</artifactId>
<url>https://canal.buession.com/</url>
Expand Down
123 changes: 123 additions & 0 deletions buession-canal-springboot/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<name>Buession Canal SpringBoot</name>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-parent</artifactId>
<relativePath>../buession-canal-parent</relativePath>
<version>1.0.0</version>
</parent>
<artifactId>buession-canal-springboot</artifactId>
<url>https://canal.buession.com/</url>
<description>Buession Canal SpringBoot</description>
<packaging>jar</packaging>

<organization>
<name>buession.com Inc.</name>
<url>http://www.buession.com/</url>
</organization>

<developers>
<developer>
<id>yong.teng</id>
<name>yong.teng</name>
<email>[email protected]</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
</developer>
</developers>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>

<scm>
<connection>scm:git:https://github.com/buession/buession-canal.git</connection>
<developerConnection>scm:git:https://github.com/buession/buession-canal.git</developerConnection>
<url>https://github.com/buession/buession-canal</url>
</scm>

<issueManagement>
<system>github</system>
<url>https://github.com/buession/buession-canal/issues</url>
</issueManagement>

<dependencies>
<dependency>
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.buession.canal</groupId>
<artifactId>buession-canal-spring</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.buession.springboot</groupId>
<artifactId>buession-springboot-boot</artifactId>
<version>${buession.springboot.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>

<build>
<finalName>buession-canal-springboot</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and limitations under the License.
*
* =========================================================================================================
*
* This software consists of voluntary contributions made by many individuals on behalf of the
* Apache Software Foundation. For more information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
* +-------------------------------------------------------------------------------------------------------+
* | License: http://www.apache.org/licenses/LICENSE-2.0.txt |
* | Author: Yong.Teng <[email protected]> |
* | Copyright @ 2013-2023 Buession.com Inc. |
* +-------------------------------------------------------------------------------------------------------+
*/
package com.buession.canal.springboot;

import com.buession.canal.core.Configuration;

import java.time.Duration;

/**
* 实例基本配置
*
* @author Yong.Teng
* @since 1.0.0
*/
public abstract class BaseInstanceConfiguration extends Configuration {

/**
* 构造函数
*/
public BaseInstanceConfiguration() {
setTimeout(Duration.ofSeconds(10));
setBatchSize(10);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and limitations under the License.
*
* =========================================================================================================
*
* This software consists of voluntary contributions made by many individuals on behalf of the
* Apache Software Foundation. For more information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
* +-------------------------------------------------------------------------------------------------------+
* | License: http://www.apache.org/licenses/LICENSE-2.0.txt |
* | Author: Yong.Teng <[email protected]> |
* | Copyright @ 2013-2023 Buession.com Inc. |
* +-------------------------------------------------------------------------------------------------------+
*/
package com.buession.canal.springboot;

/**
* MQ 实例基本配置
*
* @author Yong.Teng
* @since 1.0.0
*/
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;
}

}
Loading

0 comments on commit e1dcd40

Please sign in to comment.