public static interface TierObjectStore.ObjectStoreMetadata
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
objectMetadata(Optional<String> clusterIdOpt,
Optional<Integer> brokerIdOpt)
Converts an ObjectStoreMetadata to a map of metadata that may be useful to place on
objects in object storage, if this functionality is present in the object store
implementation of choice
|
String |
toPath(String keyPrefix,
TierObjectStore.FileType fileType)
Converts the ObjectStoreMetadata to an object store key path, taking into account a
given key prefix and file type
|
String toPath(String keyPrefix, TierObjectStore.FileType fileType)
keyPrefix
- object key prefixfileType
- object file typeMap<String,String> objectMetadata(Optional<String> clusterIdOpt, Optional<Integer> brokerIdOpt)
clusterIdOpt
- optional kafka cluster idbrokerIdOpt
- optional kafka broker id