Skip to content

Commit

Permalink
[Improve][Connector-V2] Change amazonsqs to AmazonSqs as connecto…
Browse files Browse the repository at this point in the history
…r identifier (#5742)
  • Loading branch information
Hisoka-X authored Oct 30, 2023
1 parent 7f3b4be commit 245705d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/en/connector-v2/sink/AmazonSqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ source {
}

sink {
amazonsqs {
AmazonSqs {
url = "http://127.0.0.1:8000"
region = "us-east-1"
queue = "queueName"
Expand Down
2 changes: 1 addition & 1 deletion docs/en/connector-v2/source/AmazonSqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Read data from Amazon SQS.

```bash
source {
amazonsqs {
AmazonSqs {
url = "http://127.0.0.1:4566"
region = "us-east-1"
format = text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class AmazonSqsSink extends AbstractSimpleSink<SeaTunnelRow, Void> {

@Override
public String getPluginName() {
return "amazonsqs";
return "AmazonSqs";
}

public AmazonSqsSink(ReadonlyConfig pluginConfig, SeaTunnelRowType typeInfo) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class AmazonSqsSource extends AbstractSingleSplitSource<SeaTunnelRow>

@Override
public String getPluginName() {
return "amazonsqs";
return "AmazonSqs";
}

@Override
Expand Down
7 changes: 7 additions & 0 deletions seatunnel-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,13 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>connector-amazonsqs</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<!-- jdbc driver -->
<dependency>
<groupId>com.aliyun.phoenix</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env {

source {
# This is a example source plugin **only for test and demonstrate the feature source plugin**
amazonsqs {
AmazonSqs {
url = "http://sqs-host:4566/000000000000/source_queue"
access_key_id = "1234"
secret_access_key = "abcd"
Expand All @@ -46,7 +46,7 @@ transform {

sink {
# This is a example source plugin **only for test and demonstrate the feature sink plugin**
amazonsqs {
AmazonSqs {
url = "http://sqs-host:4566/000000000000/sink_queue"
access_key_id = "1234"
secret_access_key = "abcd"
Expand Down

0 comments on commit 245705d

Please sign in to comment.