----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55588/ -----------------------------------------------------------
Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and Suma Shivaprasad. Bugs: ATLAS-1464 https://issues.apache.org/jira/browse/ATLAS-1464 Repository: atlas Description ------- When entities are created/updated/deleted, a notification message is sent to notification listener informing of the operation and passing the entity object with all its attributes. When size of the entity is greater than the max.request.size configured in Kafka, then the entity creation fails with "RecordTooLargeException" A property needs to be set in atlas-application.properties to specify list of attributes to be included in the notification message sent to Kafka. This patch check for property atlas.notification.entity.<atlas_type>.attributes.include in atlas-application.properties and if the property exists includes only the attributes listed in notification message Diffs ----- webapp/src/main/java/org/apache/atlas/notification/NotificationEntityChangeListener.java d10194d Diff: https://reviews.apache.org/r/55588/diff/ Testing ------- tested using POSTMAN rest client, created hive_db, hive_table and hive_column entities and only the attributes specified were sent in notification message. Thanks, Sarath Subramanian