Streaming (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Queries

getStreamingSystems (query)

getStreamingSystems is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Gets streaming systems under an account.

Arguments

ArgumentTypeDescription
includeClustersBoolean

Returns

[StreamingSystemWithClusters]

Example

query GetStreamingSystems {
  getStreamingSystems {
    system {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      name
      type
      accountUuid
      dcId
    }
  }
}

Types used only by getStreamingSystems

StreamingSystemWithClusters

Object type.

FieldTypeDescription
systemStreamingSystem
clusterConnections[Connection]

Related types

Connection, StreamingSystem

Mutations

addStreamingConnection (mutation)

addStreamingConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Add a connection for a streaming cluster and setup any associated jobs. Creates a streaming cluster if a cluster if not specified.

Arguments

ArgumentTypeDescription
connectionTypeString!Type of the new connection.
dcIdUUIDData Collector uuid to associate the streaming system with.
jobTypes[String]List of job types to create for the connection. If left empty, MC'd create all auto jobs.
keyString!Temp key from testing connections.
mcClusterIdUUIDUUID of an existing streaming cluster. If this field is given, please don't set new_cluster_id, new_cluster_type or new_cluster_name.
newClusterIdStringReal cluster ID used in the system. Should be obtained from customer system. Only set when creating a new cluster.
newClusterNameStringName of the cluster. Only set when creating a new cluster.
newClusterTypeStringType of the cluster. Only set when creating a new cluster. Supported types: [kafka-cluster, kafka-connect-cluster]
newStreamingSystemNameStringName of a new streaming system to associate with a new cluster and the connection. Only set when we'd like to create a new streaming system.
newStreamingSystemTypeStringType of a new streaming system to associate with a new cluster and the connection. Only set when we'd like to create a new streaming system. Supported values: [confluent-cloud, msk, self-hosted]
streamingSystemIdUUIDUUID of an existing streaming system. If this field is given, please don't set new_streaming_system_type or new_streaming_system_name.

Returns

AddStreamingConnectionMutation

Example

mutation AddStreamingConnection($connectionType: String!, $key: String!) {
  addStreamingConnection(connectionType: $connectionType, key: $key) {
    connection {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      type
      subtype
      name
      deletionProtection
      jobTypes
      credentialsS3Key
      integrationGatewayCredentialsKey
      data
      identifiers
      createdOn
      updatedOn
      isActive
      disabledOn
      ctpConfig
      resolvedConnectionType
    }
  }
}

Types used only by addStreamingConnection

AddStreamingConnectionMutation

Object type. Add a connection for a streaming cluster and setup any associated jobs. Creates a streaming cluster if a cluster if not specified.

FieldTypeDescription
connectionConnection

Related types

Connection, UUID

addStreamingSystem (mutation)

addStreamingSystem is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Add a streaming system, which contains a set of streaming clusters that work together in the system.

Arguments

ArgumentTypeDescription
dcIdUUIDThe Data Collector UUID for the jobs of connections within the streaming system to run in.
streamingSystemNameString!Name of the streaming system.
streamingSystemTypeString!Streaming system type. Supported values: [confluent-cloud, msk, self-hosted]

Returns

AddStreamingSystemMutation

Example

mutation AddStreamingSystem($streamingSystemName: String!, $streamingSystemType: String!) {
  addStreamingSystem(streamingSystemName: $streamingSystemName, streamingSystemType: $streamingSystemType) {
    streamingSystem {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      name
      type
      accountUuid
      dcId
    }
  }
}

Types used only by addStreamingSystem

AddStreamingSystemMutation

Object type. Add a streaming system, which contains a set of streaming clusters that work together in the system.

FieldTypeDescription
streamingSystemStreamingSystem

Related types

StreamingSystem, UUID

deleteStreamingCluster (mutation)

deleteStreamingCluster is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Delete a streaming clusters, and connections on this cluster.

Arguments

ArgumentTypeDescription
streamingClusterUuidUUID!UUID of the streaming Cluster.

Returns

DeleteStreamingClusterMutation

Example

mutation DeleteStreamingCluster($streamingClusterUuid: UUID!) {
  deleteStreamingCluster(streamingClusterUuid: $streamingClusterUuid) {
    success
  }
}

Types used only by deleteStreamingCluster

DeleteStreamingClusterMutation

Object type. Delete a streaming clusters, and connections on this cluster.

FieldTypeDescription
successBoolean

Related types

UUID

deleteStreamingSystem (mutation)

deleteStreamingSystem is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Delete a streaming system. This will delete all clusters within the streaming system as well.

Arguments

ArgumentTypeDescription
streamingSystemUuidUUID!UUID of the streaming System

Returns

DeleteStreamingSystemMutation

Example

mutation DeleteStreamingSystem($streamingSystemUuid: UUID!) {
  deleteStreamingSystem(streamingSystemUuid: $streamingSystemUuid) {
    success
  }
}

Types used only by deleteStreamingSystem

DeleteStreamingSystemMutation

Object type. Delete a streaming system. This will delete all clusters within the streaming system as well.

FieldTypeDescription
successBoolean

Related types

UUID

testConfluentKafkaConnectCredentials (mutation)

testConfluentKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test a confluent Kafka Connect cluster credentials.

Arguments

ArgumentTypeDescription
connectionDetailsConfluentKafkaConnectCredentialsInput!Required Credential Info for accessing Confluent Cloud Kafka Connect APIs.
connectionOptionsConnectionTestOptionsCommon options for integration tests
validationNameString!Validation to run for validating the connection.

Returns

TestConfluentKafkaConnectCredentials

Example

mutation TestConfluentKafkaConnectCredentials($connectionDetails: ConfluentKafkaConnectCredentialsInput!, $validationName: String!) {
  testConfluentKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testConfluentKafkaConnectCredentials

ConfluentKafkaConnectCredentialsInput

Input object type. Credentials to Confluent Connect APIs

FieldTypeDescription
confluentEnvString!Confluent environment.
clusterString!Confluent Kafka cluster in which the connectors are defined.
apiKeyString!Confluent Cloud API key.
secretString!Confluent Cloud Api key's secret.
urlStringURL for the Confluent Connect.
TestConfluentKafkaConnectCredentials

Object type. Test a confluent Kafka Connect cluster credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

ConnectionTestOptions, TestCredentialsV2Response

testConfluentKafkaCredentials (mutation)

testConfluentKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test a confluent Kafka cluster credentials.

Arguments

ArgumentTypeDescription
connectionDetailsConfluentKafkaCredentialsInput!Required Credential Info for accessing Confluent Kafka Cluster APIs.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestConfluentKafkaCredentials

Example

mutation TestConfluentKafkaCredentials($connectionDetails: ConfluentKafkaCredentialsInput!, $validationName: String!) {
  testConfluentKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testConfluentKafkaCredentials

ConfluentKafkaCredentialsInput

Input object type. Credentials to a Confluent Kafka Cluster

FieldTypeDescription
clusterString!Confluent Kafka cluster.
apiKeyString!Confluent Kafka API key.
secretString!Confluent Kafka Api key's secret.
urlString!URL for the Confluent kafka cluster.
TestConfluentKafkaCredentials

Object type. Test a confluent Kafka cluster credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

ConnectionTestOptions, TestCredentialsV2Response

testMskKafkaConnectCredentials (mutation)

testMskKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test MSK Kafka Connect credentials.

Arguments

ArgumentTypeDescription
connectionDetailsMskKafkaConnectCredentialsInput!Required Credential Info for accessing MSK Kafka Connect.
connectionOptionsConnectionTestOptionsCommon options for integration tests
validationNameString!Validation to run for validating the connection.

Returns

TestMskKafkaConnectCredentials

Example

mutation TestMskKafkaConnectCredentials($connectionDetails: MskKafkaConnectCredentialsInput!, $validationName: String!) {
  testMskKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testMskKafkaConnectCredentials

MskKafkaConnectCredentialsInput

Input object type. Credentials for MSK Kafka Connect

FieldTypeDescription
clusterArnString!ARN of the MSK cluster that connectors are running against
iamRoleArnString!ARN of an assumable IAM role used for collection, see our public docs for required permissions
externalIdStringOptional external id, if one is required to assume the provided IAM role
TestMskKafkaConnectCredentials

Object type. Test MSK Kafka Connect credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

ConnectionTestOptions, TestCredentialsV2Response

testMskKafkaCredentials (mutation)

testMskKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test MSK Kafka cluster credentials.

Arguments

ArgumentTypeDescription
connectionDetailsSelfHostedKafkaCredentialsInput!Required Credential Info for accessing REST Proxy in front of an MSK cluster
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestMskKafkaCredentials

Example

mutation TestMskKafkaCredentials($connectionDetails: SelfHostedKafkaCredentialsInput!, $validationName: String!) {
  testMskKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testMskKafkaCredentials

TestMskKafkaCredentials

Object type. Test MSK Kafka cluster credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

ConnectionTestOptions, SelfHostedKafkaCredentialsInput, TestCredentialsV2Response

testSelfHostedKafkaConnectCredentials (mutation)

testSelfHostedKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test a Self Hosted Kafka Connect cluster credentials.

Arguments

ArgumentTypeDescription
connectionDetailsSelfHostedKafkaConnectCredentialsInput!Required Credential Info for accessing Self Hosted Kafka Connect APIs.
connectionOptionsConnectionTestOptionsCommon options for integration tests
validationNameString!Validation to run for validating the connection.

Returns

TestSelfHostedKafkaConnectCredentials

Example

mutation TestSelfHostedKafkaConnectCredentials($connectionDetails: SelfHostedKafkaConnectCredentialsInput!, $validationName: String!) {
  testSelfHostedKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testSelfHostedKafkaConnectCredentials

SelfHostedKafkaConnectCredentialsInput

Input object type. Credentials to a Self Hosted Kafka Cluster

FieldTypeDescription
clusterString!Self Hosted Kafka Connect cluster.
authTypeAuthType!Type of Auth used to connect to the cluster.
authTokenStringAuthentication Token. Required for Basic and Bearer Auth.
urlString!URL for the Self Hosted kafka connect cluster.
TestSelfHostedKafkaConnectCredentials

Object type. Test a Self Hosted Kafka Connect cluster credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

AuthType, ConnectionTestOptions, TestCredentialsV2Response

testSelfHostedKafkaCredentials (mutation)

testSelfHostedKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test Self Hosted Kafka cluster credentials.

Arguments

ArgumentTypeDescription
connectionDetailsSelfHostedKafkaCredentialsInput!Required Credential Info for accessing Self Hosted Kafka Cluster APIs.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestSelfHostedKafkaCredentials

Example

mutation TestSelfHostedKafkaCredentials($connectionDetails: SelfHostedKafkaCredentialsInput!, $validationName: String!) {
  testSelfHostedKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testSelfHostedKafkaCredentials

TestSelfHostedKafkaCredentials

Object type. Test Self Hosted Kafka cluster credentials.

FieldTypeDescription
keyStringPath to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2Response

Related types

ConnectionTestOptions, SelfHostedKafkaCredentialsInput, TestCredentialsV2Response

updateStreamingClusterName (mutation)

updateStreamingClusterName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update a streaming cluster name.

Arguments

ArgumentTypeDescription
newNameString!New name of the system
streamingClusterUuidUUID!UUID of the streaming cluster.

Returns

UpdateStreamingClusterNameMutation

Example

mutation UpdateStreamingClusterName($newName: String!, $streamingClusterUuid: UUID!) {
  updateStreamingClusterName(newName: $newName, streamingClusterUuid: $streamingClusterUuid) {
    streamingCluster {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      externalClusterId
      name
      clusterType
      streamingSystemUuid
    }
  }
}

Types used only by updateStreamingClusterName

UpdateStreamingClusterNameMutation

Object type. Update a streaming cluster name.

FieldTypeDescription
streamingClusterStreamingCluster

Related types

StreamingCluster, UUID

updateStreamingSystemName (mutation)

updateStreamingSystemName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update a streaming system name.

Arguments

ArgumentTypeDescription
newNameString!New name of the system
streamingSystemUuidUUID!UUID of the streaming Cluster.

Returns

UpdateStreamingSystemNameMutation

Example

mutation UpdateStreamingSystemName($newName: String!, $streamingSystemUuid: UUID!) {
  updateStreamingSystemName(newName: $newName, streamingSystemUuid: $streamingSystemUuid) {
    streamingSystem {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      name
      type
      accountUuid
      dcId
    }
  }
}

Types used only by updateStreamingSystemName

UpdateStreamingSystemNameMutation

Object type. Update a streaming system name.

FieldTypeDescription
streamingSystemStreamingSystem

Related types

StreamingSystem, UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.