There is no need for this to be a sensor.  Just say:

    ConfigKey<EntitySpec<KafkaZooKeeper>> ZOOKEEPER_SPEC = ConfigKeys.newConfigKey(