<#2502 feat: Allow an inline stream map to set out...
# meltano-repo-activity
g
#2502 feat: Allow an inline stream map to set output stream name dynamically Issue created by menzenski ### Feature scope Other ### Description See this thread (and this message in particular) in the Meltano slack for more context. Here's the scenario I'd like to be able to implement: Given a tap that produces messages to a generic
database_records
stream, where the records in that stream have a
namespace
object with a
database
and
collection
property (
”namespace”: {“database”: “customer_service”, “collection”: “Customer”}
for example), I'd like to dynamically split the
database_records
stream into many streams, one for each
namespace.database
and
namespace.collection
value. For the example record with
”namespace”: {“database”: “customer_service”, “collection”: “Customer”}
that should be mapped to a new stream with stream_id
customer_service-Customer
here (as the hyphenating will let us take advantage of handling in the target to write this record to a specific table). meltano/sdk