@Tags(value={"bulletin","site","site to site"}) @CapabilityDescription(value="Publishes Bulletin events using the Site To Site protocol. Note: only up to 5 bulletins are stored per component and up to 10 bulletins at controller level for a duration of up to 5 minutes. If this reporting task is not scheduled frequently enough some bulletins may not be sent.") @Restricted(restrictions=@Restriction(requiredPermission=EXPORT_NIFI_DETAILS,explanation="Provides operator the ability to send sensitive details contained in bulletin events to any external system.")) @DefaultSchedule(strategy=TIMER_DRIVEN, period="1 min") public class SiteToSiteBulletinReportingTask extends AbstractSiteToSiteReportingTask
| Modifier and Type | Field and Description |
|---|---|
private long |
lastSentBulletinId |
ALLOW_NULL_VALUES, DESTINATION_URL_PATH, LAST_EVENT_ID_KEY, RECORD_WRITER, recordSchema, siteToSiteClient, TIMESTAMP_FORMAT| Constructor and Description |
|---|
SiteToSiteBulletinReportingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onTrigger(ReportingContext context) |
private javax.json.JsonObject |
serialize(javax.json.JsonObjectBuilder builder,
Bulletin bulletin,
DateFormat df,
String platform,
String nodeIdentifier,
Boolean allowNullValues) |
addField, addField, addField, addField, getClient, getData, sendData, setup, shutdown, verifygetControllerServiceLookup, getIdentifier, getLogger, getName, getNodeTypeProvider, getSchedulingPeriod, init, initialize, setComponentInfocustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic SiteToSiteBulletinReportingTask()
throws IOException
IOExceptionprotected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractSiteToSiteReportingTaskpublic void onTrigger(ReportingContext context)
private javax.json.JsonObject serialize(javax.json.JsonObjectBuilder builder,
Bulletin bulletin,
DateFormat df,
String platform,
String nodeIdentifier,
Boolean allowNullValues)
Copyright © 2024 Apache NiFi Project. All rights reserved.