| Package | Description |
|---|---|
| org.apache.pulsar.structuredeventlog | |
| org.apache.pulsar.structuredeventlog.slf4j |
| Modifier and Type | Class and Description |
|---|---|
class |
EventResourcesImpl |
| Modifier and Type | Method and Description |
|---|---|
EventResources |
StructuredEventLog.newEventResources()
Create an new event resources object, which can be used across multiple
root events.
|
EventResources |
EventResourcesImpl.resource(String key,
Object value) |
EventResources |
EventResources.resource(String key,
Object value)
Add a resource for the event.
|
EventResources |
EventResourcesImpl.resource(String key,
Supplier<String> value) |
EventResources |
EventResources.resource(String key,
Supplier<String> value)
Add a resource for the event using a supplier.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
Event.resources(EventResources attrs)
Add resources for the event from an EventResources object.
|
| Modifier and Type | Method and Description |
|---|---|
EventResources |
Slf4jStructuredEventLog.newEventResources() |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.