Command and query

give me a complete example of a command and query in the last version of the Axon framework without a server.

with Kafka Extention

There are unlimited ways to do something like that. The Kafka extension has an example project, which is likely the easiest to use.