Elastic agent configuration for netflow traffic

below is my elastic-agent.yml file

outputs:
  default:
    type: kafka
    hosts: ["192.168.x.x:9092"]
    topic: netflow-test
    partition.round_robin:
      reachable_only: false
    required_acks: 1
    compression: gzip

inputs:
  - id: system-metrics
    enabled: false
    type: system/metrics
    name: system-metrics
    use_output: default
    streams:
      - metricset: cpu
        data_stream.dataset: system.cpu
  - id: netflow
    data_stream:
      namespace: netflow
    name: netflow
    stream:
      - data_stream:
          dataset: netflow.log
          type: logs
        detect_sequence_reset: true
        expiration_timeout: 30m
        host: 0.0.0.0:2550
        id: netflow.log
        internal_networks:
          - private
        max_message_size: 10KiB
        protocols:
          - v1
          - v5
          - v6
          - v7
          - v8
          - v9
          - ipfix
        publisher_pipeline.disable_host: true
        queue_size: 8192
        tags:
          - netflow
          - forwarded
    type: netflow
    use_output: default
processors:
  - add_cloud_metadata:
      enabled: false

agent.monitoring:
   enabled: false
   logs: false
   metrics: false

agent.logging.to_files: true
agent.logging.files:
  path: /var/log/elastic-agent
  name: elastic-agent
  rotateeverybytes: 20971520 # = 20MB
  keepfiles: 7
  permissions: 0600

netflow data is there on port 2550 but i am not able to send data to kafka using elastic agent. But i am able to send system metrics to kafka which is currently disabled here.
Can someone help me with this.