Skip to content

Commit

Permalink
Merge pull request #2901 from vespa-engine/kkraune/faq
Browse files Browse the repository at this point in the history
FAQ entry for Kafka / num docs
  • Loading branch information
kkraune authored Sep 25, 2023
2 parents e677eec + 223d6e0 commit c05a0b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ be searched using the query api, but can be used by [visiting](visiting.html).
#### Visiting does not dump all documents, and/or hangs.
There are multiple things that can cause this, see [visiting troubleshooting](visiting.html#troubleshooting).

#### How to find number of documents in the index?
Run a query like `vespa query "select * from sources * where true"` and see the `totalCount` field.
Alternatively, use metrics or `vespa visit` - see [examples](/en/operations/batch-delete.html#example).



{:.faq-section}
Expand Down Expand Up @@ -403,6 +407,10 @@ Using too many HTTP clients can generate a 429 response code.
The Vespa sample apps use [vespa feed](vespa-cli.html#documents) which uses HTTP/2 for high throughput -
it is better to stream the feed files through this client.

#### Can I use Kafka to feed to Vespa?
Vespa does not have a Kafka connector.
Refer to third-party connectors like [kafka-connect-vespa](https://github.com/vinted/kafka-connect-vespa).



{:.faq-section}
Expand Down

0 comments on commit c05a0b3

Please sign in to comment.