class_docstr: A component for converting files of different types (pdf, docx, html, etc.) to Documents.
  This component uses [Apache Tika](https://tika.apache.org/) for parsing the files and, therefore,
  requires a running Tika server.
  
  The easiest way to run Tika is to use Docker: `docker run -d -p 127.0.0.1:9998:9998 apache/tika:latest`.
  For more options on running Tika on Docker,
  see the [documentation](https://github.com/apache/tika-docker/blob/main/README.md#usage).
  
  Usage example:
  ```python
  from haystack.components.converters.tika import TikaDocumentConverter
  
  converter = TikaDocumentConverter()
  results = converter.run(
      sources=["sample.docx", "my_document.rtf", "archive.zip"],
      meta={"date_added": datetime.now().isoformat()}
  )
  documents = results["documents"]
  print(documents[0].content)
  # 'This is a text from the docx file.'
  ```
docstr: Create a TikaDocumentConverter component.
  
  :param tika_url: URL of the Tika server. Default: `"http://localhost:9998/tika"`
docstr_tok: ["Create","a","TikaDocumentConverter","component",".",":","param","tika_url",":","URL","of","the","Tika","server",".","Default",":","`","``","http",":","\/\/localhost:9998\/tika","''","`"]
code: def __init__(self, tika_url: str = "http://localhost:9998/tika"):
      """
      Create a TikaDocumentConverter component.
  
      :param tika_url: URL of the Tika server. Default: `"http://localhost:9998/tika"`
      """
      tika_import.check()
      self.tika_url = tika_url
  
file_path: haystack/haystack/components/converters/tika.py
imports: import logging
  from pathlib import Path
  from typing import List, Union, Dict, Any, Optional
  import io
  from haystack.lazy_imports import LazyImport
  from haystack import component, Document
  from haystack.dataclasses import ByteStream
  from haystack.components.converters.utils import get_bytestream_from_source, normalize_metadata
label_desc: Use image node_id 1 to create a new TikaDocumentConverter object  with example: obj = TikaDocumentConverter(tika_url)