21.7. Lambda Index Configuration¶
GeoMesa exposes a variety of configuration options that can be used to customize and optimize a given installation. The Lambda data store supports most of the general options described under Index Configuration.
21.7.1. Kafka Topic Name¶
Each SimpleFeatureType (or schema) will be written to a unique Kafka topic. By default, the topic will be named based on the persistent data store and the SimpleFeatureType name.
If desired, the topic name can be set to an arbitrary value by setting the user data key geomesa.lambda.topic
before calling createSchema
:
SimpleFeatureType sft = ....;
sft.getUserData().put("geomesa.lambda.topic", "myTopicName");
For more information on how to set schema options, see Setting Schema Options.