This file contains hidden or 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
apiVersion: 1 | |
kind: List | |
items: | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
namespace: ns1 | |
labels: | |
app : auth-sdc |
This file contains hidden or 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
apiVersion: 1 | |
kind: List | |
items: | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
labels: | |
app : auth-sdc | |
spec: |
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: sdc-jdbc | |
namespace: ns1 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: sdc-jdbc |
This file contains hidden or 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
apiVersion: 1 | |
kind: List | |
items: | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
labels: | |
app : auth-sdc | |
spec: |
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
labels: | |
app : auth-sdc | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
labels: | |
app : auth-sdc | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains hidden or 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
apiVersion: 1 | |
kind: List | |
items: | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: sdc-microservice | |
labels: | |
app : sdc-microservice | |
spec: |
This file contains hidden or 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
#!/usr/bin/env bash | |
SDC_VERSION=3.16.1 | |
# Your SDC Docker Image Name | |
IMAGE_NAME=<your repo>/<your image>:$SDC_VERSION | |
# Cleanup old runs | |
rm -rf streamsets-datacollector-aws-lib |
This file contains hidden or 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
ARG SDC_VERSION | |
ARG SDC_LIBS | |
FROM streamsets/datacollector:${SDC_VERSION} | |
RUN "${SDC_DIST}/bin/streamsets" stagelibs -install="${SDC_LIBS}" | |
COPY streamsets-datacollector-aws-lib ${SDC_DIST}/streamsets-libs/streamsets-datacollector-aws-lib |
This file contains hidden or 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
import com.amazonaws.services.s3.AmazonS3; | |
import com.amazonaws.services.s3.model.S3Object; | |
import com.amazonaws.services.s3.model.S3ObjectInputStream; | |
records = sdc.records | |
for (record in records) { | |
S3ObjectInputStream s3is | |
FileOutputStream fos | |