Change the limit from 500 to 400 characters for dataset names (#813)

This commit is contained in:
Mars Lan 2017-10-20 16:39:11 -07:00 committed by GitHub
parent 32d565a3ff
commit 250393833c

View File

@ -42,7 +42,7 @@ public class MetadataChangeProcessor extends KafkaMessageProcessor {
private final DatasetComplianceDao _complianceDao = DAO_FACTORY.getDatasetComplianceDao();
private final int _maxDatasetNameLength = 500;
private final int _maxDatasetNameLength = 400;
public MetadataChangeProcessor(DaoFactory daoFactory, KafkaProducer<String, IndexedRecord> producer) {
super(daoFactory, producer);
@ -70,7 +70,7 @@ public class MetadataChangeProcessor extends KafkaMessageProcessor {
}
final DatasetIdentifier identifier = record.datasetIdentifier;
log.info("MCE: " + identifier); // TODO: remove. For debugging only
log.info("MCE: " + identifier + " TS: " + auditHeader.time); // TODO: remove. For debugging only
final ChangeAuditStamp changeAuditStamp = record.changeAuditStamp;
final ChangeType changeType = changeAuditStamp.type;