Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
rudderstack-airflow-provider
Advanced tools
Apache airflow provider for managing Reverse ETL syncs and Profiles runs in RudderStack.
The Customer Data Platform for Developers
The RudderStack Airflow Provider lets you programmatically schedule and trigger your Reverse ETL syncs and Profiles runs outside RudderStack and integrate them with your existing Airflow workflows.
pip install rudderstack-airflow-provider
[!NOTE]
Use RudderstackRETLOperator for reverse ETL connections
A simple DAG for triggering syncs for a RudderStack Reverse ETL source:
with DAG(
"rudderstack-retl-sample",
default_args=default_args,
description="A simple tutorial DAG for reverse etl",
schedule_interval=timedelta(days=1),
start_date=datetime(2021, 1, 1),
catchup=False,
tags=["rs-retl"],
) as dag:
# retl_connection_id, sync_type are template fields
rs_operator = RudderstackRETLOperator(
retl_connection_id="connection_id",
task_id="<replace task id>",
connection_id="<rudderstack api airflow connection id>"
)
For the complete code, refer to this example.
Mandatatory parameters for RudderstackRETLOperator:
rudderstack_default
.RudderstackRETLOperator exposes other configurable parameters as well. Mostly default values for them would be recommended.
incremental
or full
. Default is None as RudderStack will be deteriming sync type.RudderstackProfilesOperator can be used to trigger profiles run. A simple DAG for triggering profile runs for a profiles project.
with DAG(
"rudderstack-profiles-sample",
default_args=default_args,
description="A simple tutorial DAG for profiles run.",
schedule_interval=timedelta(days=1),
start_date=datetime(2021, 1, 1),
catchup=False,
tags=["rs-profiles"],
) as dag:
# profile_id is template field
rs_operator = RudderstackProfilesOperator(
profile_id="<profile_id>",
task_id="<replace task id>",
connection_id="<rudderstack api connection id>",
)
Mandatatory parameters for RudderstackProfilesOperator:
rudderstack_default
.RudderstackProfilesOperator exposes other configurable parameters as well. Mostly default values for them would be recommended.
None
.We would love to see you contribute to this project. Get more information on how to contribute here.
The RudderStack Airflow Provider is released under the MIT License.
For more information or queries on this feature, you can contact us or start a conversation in our Slack community.
FAQs
Apache airflow provider for managing Reverse ETL syncs and Profiles runs in RudderStack.
We found that rudderstack-airflow-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.