add specs for java_producer