You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by ji...@apache.org on 2025/01/16 11:29:50 UTC
(incubator-seata) branch 2.3.0 updated: bugfix: conflictingBeanDefinitionException (#7119)
This is an automated email from the ASF dual-hosted git repository.
jianbin pushed a commit to branch 2.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.3.0 by this push:
new d3e2b768b5 bugfix: conflictingBeanDefinitionException (#7119)
d3e2b768b5 is described below
commit d3e2b768b5330fb645b33ba11d9d2844c7a6a7ed
Author: funkye <ji...@apache.org>
AuthorDate: Thu Jan 16 19:29:46 2025 +0800
bugfix: conflictingBeanDefinitionException (#7119)
---
.../properties/server/ServerRaftProperties.java | 180 ---------------------
1 file changed, 180 deletions(-)
diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/org/apache/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/org/apache/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java
deleted file mode 100644
index 5121b0dff8..0000000000
--- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/org/apache/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*
- * 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.
- */
-package org.apache.seata.spring.boot.autoconfigure.properties.server;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-
-import static org.apache.seata.spring.boot.autoconfigure.StarterConstants.SERVER_RAFT_PREFIX;
-
-
-@Component
-@ConfigurationProperties(prefix = SERVER_RAFT_PREFIX)
-public class ServerRaftProperties {
-
- private String serverAddr;
-
- private String group;
-
- private Boolean autoJoin = false;
-
- private Integer snapshotInterval = 600;
-
- private Integer applyBatch = 32;
-
- private Integer maxAppendBufferSize = 256 * 1024;
-
- private Integer maxReplicatorInflightMsgs = 256;
-
- private Integer disruptorBufferSize = 16384;
-
- private Integer electionTimeoutMs = 1000;
-
- private boolean reporterEnabled = false;
-
- private Integer reporterInitialDelay = 60;
-
- private String serialization = "jackson";
-
- private String compressor = "none";
-
- private boolean sync = true;
-
- public String getServerAddr() {
- return serverAddr;
- }
-
- public ServerRaftProperties setServerAddr(String serverAddr) {
- this.serverAddr = serverAddr;
- return this;
- }
-
- public Integer getSnapshotInterval() {
- return snapshotInterval;
- }
-
- public ServerRaftProperties setSnapshotInterval(Integer snapshotInterval) {
- this.snapshotInterval = snapshotInterval;
- return this;
- }
-
- public Integer getApplyBatch() {
- return applyBatch;
- }
-
- public ServerRaftProperties setApplyBatch(Integer applyBatch) {
- this.applyBatch = applyBatch;
- return this;
- }
-
- public Integer getMaxAppendBufferSize() {
- return maxAppendBufferSize;
- }
-
- public ServerRaftProperties setMaxAppendBufferSize(Integer maxAppendBufferSize) {
- this.maxAppendBufferSize = maxAppendBufferSize;
- return this;
- }
-
- public Integer getMaxReplicatorInflightMsgs() {
- return maxReplicatorInflightMsgs;
- }
-
- public ServerRaftProperties setMaxReplicatorInflightMsgs(Integer maxReplicatorInflightMsgs) {
- this.maxReplicatorInflightMsgs = maxReplicatorInflightMsgs;
- return this;
- }
-
- public Integer getDisruptorBufferSize() {
- return disruptorBufferSize;
- }
-
- public ServerRaftProperties setDisruptorBufferSize(Integer disruptorBufferSize) {
- this.disruptorBufferSize = disruptorBufferSize;
- return this;
- }
-
- public Integer getElectionTimeoutMs() {
- return electionTimeoutMs;
- }
-
- public ServerRaftProperties setElectionTimeoutMs(Integer electionTimeoutMs) {
- this.electionTimeoutMs = electionTimeoutMs;
- return this;
- }
-
- public boolean isReporterEnabled() {
- return reporterEnabled;
- }
-
- public ServerRaftProperties setReporterEnabled(boolean reporterEnabled) {
- this.reporterEnabled = reporterEnabled;
- return this;
- }
-
- public Integer getReporterInitialDelay() {
- return reporterInitialDelay;
- }
-
- public ServerRaftProperties setReporterInitialDelay(Integer reporterInitialDelay) {
- this.reporterInitialDelay = reporterInitialDelay;
- return this;
- }
-
- public Boolean getAutoJoin() {
- return autoJoin;
- }
-
- public ServerRaftProperties setAutoJoin(Boolean autoJoin) {
- this.autoJoin = autoJoin;
- return this;
- }
-
- public String getSerialization() {
- return serialization;
- }
-
- public void setSerialization(String serialization) {
- this.serialization = serialization;
- }
-
- public String getCompressor() {
- return compressor;
- }
-
- public void setCompressor(String compressor) {
- this.compressor = compressor;
- }
-
- public String getGroup() {
- return group;
- }
-
- public void setGroup(String group) {
- this.group = group;
- }
-
- public boolean isSync() {
- return sync;
- }
-
- public void setSync(boolean sync) {
- this.sync = sync;
- }
-
-}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org