KafkaBootstrapServer

class oci.golden_gate.models.KafkaBootstrapServer(**kwargs)

Bases: object

Represents a Kafka bootstrap server with host name, optional port defaults to 9092. Deprecated: privateIp is returned only for legacy deployments created with it. On update payloads, privateIp can only be set to empty (cleared).

Methods:

__init__(**kwargs)

Initializes a new KafkaBootstrapServer object with values from keyword arguments.

Attributes:

host

[Required] Gets the host of this KafkaBootstrapServer.

port

Gets the port of this KafkaBootstrapServer.

private_ip

Gets the private_ip of this KafkaBootstrapServer.

__init__(**kwargs)

Initializes a new KafkaBootstrapServer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • host (str) – The value to assign to the host property of this KafkaBootstrapServer.

  • port (int) – The value to assign to the port property of this KafkaBootstrapServer.

  • private_ip (str) – The value to assign to the private_ip property of this KafkaBootstrapServer.

property host

[Required] Gets the host of this KafkaBootstrapServer. The name or address of a host.

Returns

The host of this KafkaBootstrapServer.

Return type

str

property port

Gets the port of this KafkaBootstrapServer. The port of an endpoint usually specified for a connection.

Returns

The port of this KafkaBootstrapServer.

Return type

int

property private_ip

Gets the private_ip of this KafkaBootstrapServer. This property is not available when creating connections. For existing deprecated connections having this value set, the value cannot be updated; set it to empty.

For deprecated connections created with this field in the past, either the private IP had to be specified in the connectionString or host field, or the host name had to be resolvable in the target VCN.

Returns

The private_ip of this KafkaBootstrapServer.

Return type

str