Repository: quarkusio/quarkus
Issue: kafka-streams: feature not listed on startup

### Describe the bug

Develop a microservice based on the quarkus kafka-streams extension.
Run quarkus:dev and look at the start logs of Quarkus.
kafka-streams does not appear in the list.

### Expected behavior

kafka-streams should be listed in the activated extensions

### Actual behavior

kafka-streams does not appear, probably since this commit https://github.com/quarkusio/quarkus/commit/4bd0553402aa0b6009d7b36e84fc70df385db572, i.e. whenever the microservice is launched in JVM mode

### How to Reproduce?

[reproducer-kafka-streams-not-listed.zip](https://github.com/quarkusio/quarkus/files/12242048/reproducer-kafka-streams-not-listed.zip)

1. unzip above code.quarkus.io generated project
2. run mvn quarkus:dev
3. the following log line: `Installed features: [cdi, kafka-client]` does not contain kafka-streams

### Output of `uname -a` or `ver`

Linux 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC x86_64 x86_64 x86_64 GNU/Linux

### Output of `java -version`

openjdk version "17.0.8" 2023-07-18

### GraalVM version (if different from Java)

OpenJDK Runtime Environment GraalVM CE 17.0.8+7.1 (build 17.0.8+7-jvmci-23.0-b15)

### Quarkus version or git rev

3.2.2.Final

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

Apache Maven 3.9.3

### Additional information

_No response_

Changed files:
extensions/kafka-streams/deployment/src/main/java/io/quarkus/kafka/streams/deployment/KafkaStreamsProcessor.java

diff --git a/extensions/kafka-streams/deployment/src/main/java/io/quarkus/kafka/streams/deployment/KafkaStreamsProcessor.java b/extensions/kafka-streams/deployment/src/main/java/io/quarkus/kafka/streams/deployment/KafkaStreamsProcessor.java
index 915ab5d7158..112d70f3467 100644
--- a/extensions/kafka-streams/deployment/src/main/java/io/quarkus/kafka/streams/deployment/KafkaStreamsProcessor.java
+++ b/extensions/kafka-streams/deployment/src/main/java/io/quarkus/kafka/streams/deployment/KafkaStreamsProcessor.java
@@ -44,17 +44,18 @@ class KafkaStreamsProcessor {
 
     public static final String DEFAULT_PARTITION_GROUPER = "org.apache.kafka.streams.processor.DefaultPartitionGrouper";
 
+    @BuildStep
+    FeatureBuildItem feature() {
+        return new FeatureBuildItem(Feature.KAFKA_STREAMS);
+    }
+
     @BuildStep(onlyIf = NativeOrNativeSourcesBuild.class)
-    void build(BuildProducer<FeatureBuildItem> feature,
-            BuildProducer<ReflectiveClassBuildItem> reflectiveClasses,
+    void build(BuildProducer<ReflectiveClassBuildItem> reflectiveClasses,
             BuildProducer<JniRuntimeAccessBuildItem> jniRuntimeAccessibleClasses,
             BuildProducer<RuntimeReinitializedClassBuildItem> reinitialized,
             BuildProducer<NativeImageResourceBuildItem> nativeLibs,
             LaunchModeBuildItem launchMode,
             NativeImageRunnerBuildItem nativeImageRunner) throws IOException {
-
-        feature.produce(new FeatureBuildItem(Feature.KAFKA_STREAMS));
-
         registerClassesThatAreLoadedThroughReflection(reflectiveClasses, launchMode);
         registerClassesThatAreAccessedViaJni(jniRuntimeAccessibleClasses);
         addSupportForRocksDbLib(nativeLibs, nativeImageRunner);