public class SchemaRegistryIdentity extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_VERSION |
| Constructor and Description |
|---|
SchemaRegistryIdentity(String host,
Integer port,
Boolean leaderEligibility,
String scheme) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static SchemaRegistryIdentity |
fromJson(ByteBuffer json) |
static SchemaRegistryIdentity |
fromJson(String json) |
static int |
getCurrentVersion() |
String |
getHost() |
boolean |
getLeaderEligibility() |
Integer |
getPort() |
String |
getScheme() |
String |
getUrl() |
Integer |
getVersion() |
int |
hashCode() |
Boolean |
isLeader() |
void |
setHost(String host) |
void |
setLeader(Boolean isLeader) |
void |
setLeaderEligibility(Boolean eligibility) |
void |
setPort(Integer port) |
void |
setScheme(String scheme) |
void |
setVersion(Integer version) |
String |
toJson() |
ByteBuffer |
toJsonBytes() |
String |
toString() |
public static final int CURRENT_VERSION
public static SchemaRegistryIdentity fromJson(String json) throws IOException
IOExceptionpublic static SchemaRegistryIdentity fromJson(ByteBuffer json)
public Integer getVersion()
public void setVersion(Integer version)
public String getHost()
public void setHost(String host)
public Integer getPort()
public void setPort(Integer port)
public boolean getLeaderEligibility()
public void setLeaderEligibility(Boolean eligibility)
public String getScheme()
public void setScheme(String scheme)
public static int getCurrentVersion()
public Boolean isLeader()
public void setLeader(Boolean isLeader)
public String toJson() throws IOException
IOExceptionpublic ByteBuffer toJsonBytes()
public String getUrl()
Copyright © 2026 Confluent, Inc.. All rights reserved.