Prevent double configuration via TopologyBuilder and JSON config.