# Lenses-cli export - Kafka Connectors YAML output location

**URL:** <https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52>\
**Category:** Lenses\
**Created:** [April 28, 2023, 3:19pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52 "2023-04-28T15:19:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wkolbenschlag](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/wkolbenschlag/32/174_2.png) [@wkolbenschlag](https://ask.lenses.io/u/wkolbenschlag)\
**Post date:** [April 28, 2023, 3:19pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/1 "2023-04-28T15:19:04Z")

</div>

Have a question about Lenses-cli Export.  
[lenses-cli 5.0.1

> > > > build  
> > > > revision e9717e0f19b6f60bea191811e91584eeb512fc70  
> > > > datetime Thu May 12 08:34:48 UTC 2022  
> > > > go go1.17.10]

using lenses-cli export connections --dir my-dir

Where are the output results for the connection.yamls?

When do a full export, of all the component types (apps, topics, schemas,…), the output directories/contents are:

```auto
alert-settings  
apps/ 
       sql/all my sql processor yamls           
connections/
      all my connector yamls     
kafka   
     quotas - quotas.yaml
     topics - all my topic yamls 
schemas 
     all my schema yamls.

```

Where are my connection yamls?

---

<div class="post-metadata">

**Author:** ![rollulus](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/rollulus/32/51_2.png) [@rollulus](https://ask.lenses.io/u/rollulus)\
**Post date:** [May 2, 2023, 11:55am UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/2 "2023-05-02T11:55:43Z")

</div>

Hello, I just gave the command a shot to see if everything works as expected:  
`$ lenses-cli export connections --dir my-dir` gives for me:

```auto
./my-dir/connections/connection-zookeeper-zookeeper.yaml
./my-dir/connections/connection-kafka-kafka.yaml

```

Do I understand you correct that nothing like this is appearing for you?

---

<div class="post-metadata">

**Author:** ![wkolbenschlag](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/wkolbenschlag/32/174_2.png) [@wkolbenschlag](https://ask.lenses.io/u/wkolbenschlag)\
**Post date:** [May 2, 2023, 2:32pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/3 "2023-05-02T14:32:59Z")

</div>

Thanks for the response.

Mixed up my connections with my connectors.

Connections are showing up in correct directory per documentation (./connections/\*).

Actually looking for the lenses-cli export connector export results under ./apps/connectors/ but not getting any results there.

---

<div class="post-metadata">

**Author:** ![rollulus](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/rollulus/32/51_2.png) [@rollulus](https://ask.lenses.io/u/rollulus)\
**Post date:** [May 4, 2023, 1:03pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/4 "2023-05-04T13:03:02Z")

</div>

Ah, connectors, connections, I get the confusion. On my side the connectors didn’t show up either, so there is something odd going on here. I’ll investigate and get back to you.

---

<div class="post-metadata">

**Author:** ![rollulus](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/rollulus/32/51_2.png) [@rollulus](https://ask.lenses.io/u/rollulus)\
**Post date:** [May 4, 2023, 1:11pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/5 "2023-05-04T13:11:48Z")

</div>

Found the possible answer! There was a bug in this code, which has been fixed in June of last year. Looks like your version is from a few weeks before that. Could you try to get the latest build from [here](https://archive.lenses.io/lenses/5.1/) and give it another shot?

---

<div class="post-metadata">

**Author:** ![wkolbenschlag](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/wkolbenschlag/32/174_2.png) [@wkolbenschlag](https://ask.lenses.io/u/wkolbenschlag)\
**Post date:** [May 4, 2023, 1:24pm UTC](https://ask.lenses.io/t/lenses-cli-export-kafka-connectors-yaml-output-location/52/6 "2023-05-04T13:24:04Z")

</div>

WIll do and get back to you.
