AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

AtlasStreamConnection 사용자 지정 리소스

AtlasStreamConnection 사용자 지정 리소스 Atlas Stream Processing 연결을 구성합니다. 샘플 연결, Atlas 변경 스트림에 대한 연결 또는 Apache Kafka 시스템에 대한 연결을 구성할 수 있습니다.

다음 예시에서는 stream processing 공간의 연결 레지스트리에 추가할 연결을 추가합니다. 자세한 학습 은 Atlas Stream Processing 관리를 참조하세요.

apiVersion: atlas.mongodb.com/v1
kind: AtlasStreamConnection
metadata:
name: my-stream-connection
spec:
name: sample_stream_solar
type: Sample

참고

spec.type 매개변수에 Sample 을 지정하는 경우 spec.name 매개변수는 샘플 컬렉션 이름과 일치해야 합니다. 현재 Atlas Kubernetes Operator는 이 사용자 지정 리소스에 대해 sample_stream_solar 샘플 컬렉션만 지원합니다.

apiVersion: atlas.mongodb.com/v1
kind: AtlasStreamConnection
metadata:
name: my-stream-connection
spec:
name: my-stream-connection
type: Cluster
clusterConfig:
name: my-cluster
role:
name: my-db-role
type: CUSTOM
apiVersion: atlas.mongodb.com/v1
kind: AtlasStreamConnection
metadata:
name: my-stream-connection
spec:
name: my-stream-connection
type: Kafka
kafkaConfig:
bootstrapServers: "comma,separated,list,of,server,addresses"
authentication:
mechanism: SCRAM-512
credentials:
name: ref-to-creds-secret
namespace: default
security:
protocol: SSL
certificate:
name: ref-to-certificate-secret
namespace: default

이 섹션에서는 사용 가능한 AtlasStreamConnection 매개변수에 대해 설명합니다.

spec.name

유형: 문자열

필수 사항

Atlas Stream Processing 연결을 식별하는 이름입니다.

참고

spec.type 매개변수에 Sample 을 지정하는 경우 spec.name 매개변수는 샘플 컬렉션 이름과 일치해야 합니다. 현재 Atlas Kubernetes Operator는 이 사용자 지정 리소스에 대해 sample_stream_solar 샘플 컬렉션만 지원합니다.

spec.type

유형: 문자열

필수 사항

연결 유형을 나타내는 string 입니다. 유효한 값은 다음과 같습니다.

  • Sample

  • Cluster

  • Kafka

spec.clusterConfig

유형: 객체

조건부

Object that contains the configuration for the connection to an Atlas change stream. If you specified Cluster for the spec.type parameter, you must specify this setting.

spec.clusterConfig.name

유형: 문자열

조건부

Name that identifies the connection to the Atlas change stream. If you specified Cluster for the spec.type parameter, you must specify this setting.

spec.clusterConfig.role

유형: 문자열

조건부

Database role for the connection to the Atlas change stream. If you specified Cluster for the spec.type parameter, you must specify this setting.

spec.clusterConfig.role.name

유형: 문자열

조건부

Name that identifies the database role for the connection to the Atlas change stream. If you specified Cluster for the spec.type parameter, you must specify this setting.

spec.clusterConfig.role.type

유형: 문자열

조건부

데이터베이스 역할의 유형을 나타내는 string 입니다. 유효한 값은 다음과 같습니다.

  • BUILT_IN

  • CUSTOM

To learn more, see Configure Custom Database Roles.

spec.kafkaConfig

유형: 객체

조건부

Apache Kafka 시스템 연결을 위한 구성이 포함된 객체 입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.bootstrapServers

유형: 배열

조건부

Apache Kafka 시스템 연결을 위한 쉼표로 구분된 서버 주소 목록입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.authentication

유형: 객체

조건부

인증 메커니즘 및 자격 증명에 대한 구성이 포함된 객체입니다. spec.type 매개변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.authentication.mechanism

유형: 문자열

조건부

Apache Kafka 시스템 연결을 위한 인증 메커니즘 나타내는 문자열입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다. 유효한 값은 다음과 같습니다.

  • PLAIN

  • SCRAM-256

  • SCRAM-512

spec.kafkaConfig.authentication.credentials

유형: 객체

조건부

인증 자격 증명 포함된 시크릿 에 대한 참조가 포함된 객체입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.authentication.credentials.name

유형: 문자열

조건부

인증 자격 증명 포함된 불투명 시크릿의 이름입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.authentication.credentials.namespace

유형: 문자열

조건부

인증 자격 증명 이 포함된 불투명 시크릿의 네임스페이스입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.security

유형: 객체

조건부

보안 프로토콜 및 인증서에 대한 구성이 포함된 객체입니다. spec.type 매개변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.security.protocol

유형: 문자열

조건부

Apache Kafka 시스템 연결을 위한 보안 프로토콜 나타내는 문자열입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다. 유효한 값은 다음과 같습니다.

  • PLAIN

  • SSL

spec.kafkaConfig.security.certificate

유형: 객체

조건부

보안 인증서에 대한 구성이 포함된 객체입니다. spec.type 매개변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.security.certificate.name

유형: 문자열

조건부

보안 인증서가 포함된 불투명 시크릿 의 이름입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.

spec.kafkaConfig.security.certificate.namespace

유형: 문자열

조건부

보안 인증서가 포함된 불투명 시크릿 의 네임스페이스입니다. spec.type 매개 변수에 Kafka 를 지정한 경우 이 설정을 지정해야 합니다.