KafkaBootstrapServer¶
-
class
oci.golden_gate.models.
KafkaBootstrapServer
(**kwargs)¶ Bases:
object
Represents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip.
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.
-
host
¶ [Required] Gets the host of this KafkaBootstrapServer. The name or address of a host.
Returns: The host of this KafkaBootstrapServer. Return type: str
-
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
-
private_ip
¶ Gets the private_ip of this KafkaBootstrapServer. Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
The private IP address of the connection’s endpoint in the customer’s VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
Returns: The private_ip of this KafkaBootstrapServer. Return type: str
-