User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
Hello,
1. The lambda data store isn't currently implemented for HBase. The
underlying store is back-end agnostic, but you would need to create
a data store factory that is either a) aware of the hbase data store
params, or b) accepts arbitrary data store params, and then you
would need to bundle the classpath correctly for hbase + kafka.
Because of all the various permutations, we haven't implemented that
yet, but if you're interested it would be a good contribution.
2. The kafka data store doesn't use a z-index. The data is stored as
kafka messages, one per feature. When you start up a data store, it
will read from kafka and populate an in-memory index with the
features, which will be used for queries. If you read the kafka data
into a data frame, you would have to read the whole topic, filter
it, and then create in-memory indices on your data frame, similarly
to what I mentioned below.
Thanks,
Emilio
On 10/22/19 2:44 AM, Yifan Wang wrote:
Hi,
Thank you for your help! I got two more questions on
Geomesa DataStore.
1. How can I store persistent data via
GeoMesa Lambda DataStore to Hbase? (I noticed that when
creating Lambda DataStore, I have to set configurations for
accumulo,
does it mean I can only store persistent data to accumulo
via Lambda DataStore?).And can I read data from
Lambda DataStore kafka via Spark?
2. If I store data to Geomesa Kafka DataStore via Spark
with Z-Index, will the index still be working when I read data
via Structured Streaming and deserialize the SimpleFeature to
DataFrame?
Best Regards,
Evan
On Mon, Oct 21, 2019 at 8:51
PM Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx> wrote: