This section describes two schemas related to the Name Service feature of the Pulsar SDK.

ResolvedName

export class ResolvedName {
  main_name: string;
  main_address: string;
  service: string;
}
@dataclass
class ResolvedName:
    main_name: str
    main_address: str
    service: str

The ResolvedName schema is a dataclass that represents a name resolution from the Name Service. It includes the resolved name, the resolved address, and the service that provided the resolution.

ResolvedAddress

export class ResolvedAddress {
  main_name: string;
  service: string;
}
@dataclass
class ResolvedAddress:
    main_name: str
    service: str

The ResolvedAddress schema is a dataclass that represents an address resolution from the Name Service. It includes the resolved name and the service that provided the resolution.