Conditional topics not work: since document_type is deprecated, how to use %{[type]} in kafka ouput?

the doc is in:

all of them are still recommend %{[type]}. but I test in filebeat 6.0.0, it can not refer to document_type

and thanks for 'topic: '%{[fields.log_topic]}'.' it work for me